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
bca30e15
Commit
bca30e15
authored
Jan 18, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audioqueue: fix compilation warnings
parent
6eddafe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/audio_output/audioqueue.c
modules/audio_output/audioqueue.c
+4
-4
No files found.
modules/audio_output/audioqueue.c
View file @
bca30e15
...
...
@@ -104,7 +104,7 @@ static int Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
0
,
// Flags ; must be zero (per documentation)...
&
(
p_sys
->
audioQueue
));
// Output
msg_Dbg
(
p_aout
,
"New AudioQueue output created (status = %i)"
,
status
);
msg_Dbg
(
p_aout
,
"New AudioQueue output created (status = %
l
i)"
,
status
);
if
(
status
!=
noErr
)
return
VLC_EGENERIC
;
...
...
@@ -116,7 +116,7 @@ static int Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
p_aout
->
sys
->
b_stopped
=
false
;
status
=
AudioQueueStart
(
p_sys
->
audioQueue
,
NULL
);
msg_Dbg
(
p_aout
,
"Starting AudioQueue (status = %i)"
,
status
);
msg_Dbg
(
p_aout
,
"Starting AudioQueue (status = %
l
i)"
,
status
);
p_aout
->
time_get
=
TimeGet
;
p_aout
->
play
=
Play
;
...
...
@@ -155,7 +155,7 @@ static void Play (audio_output_t *p_aout, block_t *p_block)
status
=
AudioQueueAllocateBuffer
(
p_aout
->
sys
->
audioQueue
,
FRAME_SIZE
*
2
,
&
inBuffer
);
if
(
status
!=
noErr
)
{
msg_Err
(
p_aout
,
"buffer alloction failed (%i)"
,
status
);
msg_Err
(
p_aout
,
"buffer alloction failed (%
l
i)"
,
status
);
return
;
}
...
...
@@ -165,7 +165,7 @@ static void Play (audio_output_t *p_aout, block_t *p_block)
status
=
AudioQueueEnqueueBuffer
(
p_aout
->
sys
->
audioQueue
,
inBuffer
,
0
,
NULL
);
if
(
status
!=
noErr
)
msg_Err
(
p_aout
,
"enqueuing buffer failed (%i)"
,
status
);
msg_Err
(
p_aout
,
"enqueuing buffer failed (%
l
i)"
,
status
);
}
}
...
...
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