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
d068701b
Commit
d068701b
authored
Aug 19, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed BeOS output ;
* Fixed a few boolean_t.
parent
5ffbc97e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/AudioOutput.cpp
+4
-4
src/audio_output/filters.c
src/audio_output/filters.c
+7
-7
src/audio_output/mixer.c
src/audio_output/mixer.c
+2
-2
No files found.
modules/gui/beos/AudioOutput.cpp
View file @
d068701b
...
...
@@ -2,7 +2,7 @@
* aout.cpp: BeOS audio output
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: AudioOutput.cpp,v 1.
3 2002/08/19 11:51:03 tcastley
Exp $
* $Id: AudioOutput.cpp,v 1.
4 2002/08/19 21:54:37 massiot
Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -63,7 +63,7 @@ struct aout_sys_t
*****************************************************************************/
static
int
SetFormat
(
aout_instance_t
*
);
//static int GetBufInfo ( aout_instance_t *, int );
static
void
Play
(
aout_instance_t
*
,
aout_buffer_t
*
);
static
void
Play
(
aout_instance_t
*
);
/*****************************************************************************
* OpenAudio: opens a BPushGameSound
...
...
@@ -138,9 +138,9 @@ static int SetFormat( aout_instance_t *p_aout )
*****************************************************************************
* This function writes a buffer of i_length bytes in the dsp
*****************************************************************************/
static
void
Play
(
aout_instance_t
*
p_aout
,
aout_buffer_t
*
p_buffer
)
static
void
Play
(
aout_instance_t
*
p_aout
)
{
aout_buffer_t
*
p_buffer
=
aout_FifoPop
(
p_aout
,
&
p_aout
->
output
.
fifo
);
int
i_newbuf_pos
;
if
(
(
i_newbuf_pos
=
p_aout
->
output
.
p_sys
->
i_buffer_pos
+
p_buffer
->
i_size
)
...
...
src/audio_output/filters.c
View file @
d068701b
...
...
@@ -2,7 +2,7 @@
* filters.c : audio output filters management
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: filters.c,v 1.
5 2002/08/19 21:31:11
massiot Exp $
* $Id: filters.c,v 1.
6 2002/08/19 21:54:37
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -76,13 +76,13 @@ static int SplitConversion( aout_instance_t * p_aout,
const
audio_sample_format_t
*
p_input_format
,
const
audio_sample_format_t
*
p_output_format
,
audio_sample_format_t
*
p_middle_format
,
boolean
_t
b_format_first
,
boolean
_t
b_rate_first
)
vlc_bool
_t
b_format_first
,
vlc_bool
_t
b_rate_first
)
{
boolean
_t
b_format
=
vlc_bool
_t
b_format
=
(
p_input_format
->
i_format
!=
p_output_format
->
i_format
);
boolean
_t
b_rate
=
(
p_input_format
->
i_rate
!=
p_output_format
->
i_rate
);
boolean
_t
b_channels
=
vlc_bool
_t
b_rate
=
(
p_input_format
->
i_rate
!=
p_output_format
->
i_rate
);
vlc_bool
_t
b_channels
=
(
p_input_format
->
i_channels
!=
p_output_format
->
i_channels
);
int
i_nb_conversions
=
b_format
+
b_rate
+
b_channels
;
...
...
@@ -160,7 +160,7 @@ int aout_FiltersCreatePipeline( aout_instance_t * p_aout,
const
audio_sample_format_t
*
p_output_format
)
{
audio_sample_format_t
temp_format
;
boolean
_t
b_format_first
,
b_rate_first
;
vlc_bool
_t
b_format_first
,
b_rate_first
;
if
(
AOUT_FMTS_IDENTICAL
(
p_input_format
,
p_output_format
)
)
{
...
...
src/audio_output/mixer.c
View file @
d068701b
...
...
@@ -2,7 +2,7 @@
* mixer.c : audio output mixing operations
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: mixer.c,v 1.
6 2002/08/19 21:31:11
massiot Exp $
* $Id: mixer.c,v 1.
7 2002/08/19 21:54:37
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -92,7 +92,7 @@ void aout_MixerRun( aout_instance_t * p_aout )
aout_fifo_t
*
p_fifo
=
&
p_input
->
fifo
;
aout_buffer_t
*
p_buffer
;
mtime_t
prev_date
;
boolean
_t
b_drop_buffers
;
vlc_bool
_t
b_drop_buffers
;
vlc_mutex_lock
(
&
p_fifo
->
lock
);
...
...
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