Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0e5978dc
Commit
0e5978dc
authored
Oct 09, 2002
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BeOS compilation fixes.
parent
146bc0b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/AudioOutput.cpp
+5
-5
src/misc/beos_specific.cpp
src/misc/beos_specific.cpp
+5
-5
No files found.
modules/gui/beos/AudioOutput.cpp
View file @
0e5978dc
...
...
@@ -2,7 +2,7 @@
* aout.cpp: BeOS audio output
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: AudioOutput.cpp,v 1.
8 2002/09/18 21:21:23 massiot
Exp $
* $Id: AudioOutput.cpp,v 1.
9 2002/10/09 01:14:18 titer
Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -126,19 +126,19 @@ static int SetFormat( aout_instance_t *p_aout )
switch
(
p_aout
->
output
.
output
.
i_format
)
{
case
AOUT_FMT_S16_LE
:
case
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'l'
)
:
p_aout
->
output
.
p_sys
->
p_format
->
format
=
gs_audio_format
::
B_GS_S16
;
p_aout
->
output
.
p_sys
->
p_format
->
byte_order
=
B_MEDIA_LITTLE_ENDIAN
;
break
;
case
AOUT_FMT_S16_BE
:
case
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'b'
)
:
p_aout
->
output
.
p_sys
->
p_format
->
format
=
gs_audio_format
::
B_GS_S16
;
p_aout
->
output
.
p_sys
->
p_format
->
byte_order
=
B_MEDIA_BIG_ENDIAN
;
break
;
case
AOUT_FMT_S8
:
case
VLC_FOURCC
(
's'
,
'8'
,
0
,
0
)
:
p_aout
->
output
.
p_sys
->
p_format
->
format
=
gs_audio_format
::
B_GS_U8
;
p_aout
->
output
.
p_sys
->
p_format
->
byte_order
=
B_MEDIA_LITTLE_ENDIAN
;
break
;
case
AOUT_FMT_FLOAT32
:
case
VLC_FOURCC
(
'f'
,
'1'
,
'3'
,
'2'
)
:
p_aout
->
output
.
p_sys
->
p_format
->
format
=
gs_audio_format
::
B_GS_F
;
p_aout
->
output
.
p_sys
->
p_format
->
byte_order
=
B_MEDIA_LITTLE_ENDIAN
;
break
;
...
...
src/misc/beos_specific.cpp
View file @
0e5978dc
...
...
@@ -2,7 +2,7 @@
* beos_init.cpp: Initialization for BeOS specific features
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: beos_specific.cpp,v 1.2
6 2002/09/30 18:30:2
8 titer Exp $
* $Id: beos_specific.cpp,v 1.2
7 2002/10/09 01:14:1
8 titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
*
...
...
@@ -78,11 +78,11 @@ static void AppThread( vlc_object_t *p_appthread );
*****************************************************************************/
void
system_Init
(
vlc_t
*
p_this
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
{
p_this
->
p_vlc
->
p_appthread
=
p_this
->
p_
lib
vlc
->
p_appthread
=
(
vlc_object_t
*
)
vlc_object_create
(
p_this
,
sizeof
(
vlc_object_t
)
);
/* Create the BApplication thread and wait for initialization */
vlc_thread_create
(
p_this
->
p_vlc
->
p_appthread
,
"app thread"
,
AppThread
,
vlc_thread_create
(
p_this
->
p_
lib
vlc
->
p_appthread
,
"app thread"
,
AppThread
,
VLC_THREAD_PRIORITY_LOW
,
VLC_TRUE
);
}
...
...
@@ -102,8 +102,8 @@ void system_End( vlc_t *p_this )
/* Tell the BApplication to die */
be_app
->
PostMessage
(
B_QUIT_REQUESTED
);
vlc_thread_join
(
p_this
->
p_vlc
->
p_appthread
);
vlc_object_destroy
(
p_this
->
p_vlc
->
p_appthread
);
vlc_thread_join
(
p_this
->
p_
lib
vlc
->
p_appthread
);
vlc_object_destroy
(
p_this
->
p_
lib
vlc
->
p_appthread
);
free
(
psz_program_path
);
}
...
...
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