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
69fdc2f3
Commit
69fdc2f3
authored
Aug 20, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PortAudio warnings
parent
4bfba26a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/audio_output/portaudio.c
modules/audio_output/portaudio.c
+4
-1
No files found.
modules/audio_output/portaudio.c
View file @
69fdc2f3
...
@@ -126,6 +126,8 @@ static int paCallback( const void *inputBuffer, void *outputBuffer,
...
@@ -126,6 +126,8 @@ static int paCallback( const void *inputBuffer, void *outputBuffer,
const
PaStreamCallbackTimeInfo
*
paDate
,
const
PaStreamCallbackTimeInfo
*
paDate
,
PaStreamCallbackFlags
statusFlags
,
void
*
p_cookie
)
PaStreamCallbackFlags
statusFlags
,
void
*
p_cookie
)
{
{
VLC_UNUSED
(
inputBuffer
);
VLC_UNUSED
(
statusFlags
);
struct
aout_sys_t
*
p_sys
=
(
struct
aout_sys_t
*
)
p_cookie
;
struct
aout_sys_t
*
p_sys
=
(
struct
aout_sys_t
*
)
p_cookie
;
aout_instance_t
*
p_aout
=
p_sys
->
p_aout
;
aout_instance_t
*
p_aout
=
p_sys
->
p_aout
;
aout_buffer_t
*
p_buffer
;
aout_buffer_t
*
p_buffer
;
...
@@ -169,7 +171,6 @@ static int Open( vlc_object_t * p_this )
...
@@ -169,7 +171,6 @@ static int Open( vlc_object_t * p_this )
{
{
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
struct
aout_sys_t
*
p_sys
;
struct
aout_sys_t
*
p_sys
;
int
i_err
;
msg_Dbg
(
p_aout
,
"entering Open()"
);
msg_Dbg
(
p_aout
,
"entering Open()"
);
...
@@ -188,6 +189,8 @@ static int Open( vlc_object_t * p_this )
...
@@ -188,6 +189,8 @@ static int Open( vlc_object_t * p_this )
#ifdef PORTAUDIO_IS_SERIOUSLY_BROKEN
#ifdef PORTAUDIO_IS_SERIOUSLY_BROKEN
if
(
!
b_init
)
if
(
!
b_init
)
{
{
int
i_err
;
/* Test device */
/* Test device */
if
(
PAOpenDevice
(
p_aout
)
!=
VLC_SUCCESS
)
if
(
PAOpenDevice
(
p_aout
)
!=
VLC_SUCCESS
)
{
{
...
...
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