Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
98363dc6
Commit
98363dc6
authored
Dec 09, 2002
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* AudioOutput.cpp: added sanity tests;
* VlcWrapper.h, Interface.cpp: removed an unused variable.
parent
29b488fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/AudioOutput.cpp
+14
-1
modules/gui/beos/Interface.cpp
modules/gui/beos/Interface.cpp
+2
-2
modules/gui/beos/VlcWrapper.h
modules/gui/beos/VlcWrapper.h
+1
-2
No files found.
modules/gui/beos/AudioOutput.cpp
View file @
98363dc6
...
...
@@ -2,7 +2,7 @@
* AudioOutput.cpp: BeOS audio output
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: AudioOutput.cpp,v 1.
19 2002/12/09 07:57:04
titer Exp $
* $Id: AudioOutput.cpp,v 1.
20 2002/12/09 13:37:38
titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -66,6 +66,11 @@ int E_(OpenAudio) ( vlc_object_t * p_this )
int
i_nb_channels
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
p_aout
->
output
.
p_sys
=
(
aout_sys_t
*
)
malloc
(
sizeof
(
aout_sys_t
)
);
if
(
p_aout
->
output
.
p_sys
==
NULL
)
{
msg_Err
(
p_aout
,
"Not enough memory"
);
return
-
1
;
}
aout_sys_t
*
p_sys
=
p_aout
->
output
.
p_sys
;
...
...
@@ -101,6 +106,14 @@ int E_(OpenAudio) ( vlc_object_t * p_this )
p_sys
->
p_player
=
new
BSoundPlayer
(
p_format
,
"player"
,
Play
,
NULL
,
p_aout
);
if
(
p_sys
->
p_player
->
InitCheck
()
!=
B_OK
)
{
msg_Err
(
p_aout
,
"BSoundPlayer InitCheck failed"
);
delete
p_sys
->
p_player
;
free
(
p_sys
);
return
-
1
;
}
p_sys
->
p_player
->
Start
();
p_sys
->
p_player
->
SetHasData
(
true
);
...
...
modules/gui/beos/Interface.cpp
View file @
98363dc6
...
...
@@ -2,13 +2,14 @@
* intf_beos.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: Interface.cpp,v 1.
6 2002/11/27 05:36:41
titer Exp $
* $Id: Interface.cpp,v 1.
7 2002/12/09 13:37:38
titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Tony Castley <tony@castley.net>
* Richard Shepherd <richard@rshepherd.demon.co.uk>
* Stephan Aßmus <stippi@yellowbites.com>
* Eric Petit <titer@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -90,7 +91,6 @@ int E_(OpenIntf) ( vlc_object_t *p_this )
message
.
AddPointer
(
"window"
,
p_intf
->
p_sys
->
p_window
);
be_app
->
PostMessage
(
&
message
);
}
p_intf
->
p_sys
->
b_disabled_menus
=
0
;
p_intf
->
p_sys
->
i_saved_volume
=
AOUT_VOLUME_DEFAULT
;
p_intf
->
p_sys
->
b_loop
=
0
;
p_intf
->
p_sys
->
b_mute
=
0
;
...
...
modules/gui/beos/VlcWrapper.h
View file @
98363dc6
...
...
@@ -2,7 +2,7 @@
* VlcWrapper.h: BeOS plugin for vlc (derived from MacOS X port)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.h,v 1.
9 2002/12/09 07:57:04
titer Exp $
* $Id: VlcWrapper.h,v 1.
10 2002/12/09 13:37:38
titer Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -37,7 +37,6 @@ struct intf_sys_t
{
InterfaceWindow
*
p_window
;
vlc_bool_t
b_disabled_menus
;
vlc_bool_t
b_loop
;
vlc_bool_t
b_mute
;
int
i_part
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment