Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
bca30e15
Commit
bca30e15
authored
12 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
audioqueue: fix compilation warnings
parent
6eddafe7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/audio_output/audioqueue.c
+4
-4
4 additions, 4 deletions
modules/audio_output/audioqueue.c
with
4 additions
and
4 deletions
modules/audio_output/audioqueue.c
+
4
−
4
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
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Edward Wang
@edwardw
mentioned in issue
#8057 (closed)
·
4 years ago
mentioned in issue
#8057 (closed)
mentioned in issue #8057
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment