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
448
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
bf47f37a
Commit
bf47f37a
authored
12 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
audioqueue: compilation and compiler wanring fixes
parent
2536850f
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
-5
4 additions, 5 deletions
modules/audio_output/audioqueue.c
with
4 additions
and
5 deletions
modules/audio_output/audioqueue.c
+
4
−
5
View file @
bf47f37a
...
...
@@ -79,10 +79,9 @@ vlc_module_end ()
* Open: open the audio device
*****************************************************************************/
static
int
Start
(
audio_output_t
*
aout
,
audio_sample_format_t
*
restrict
fmt
)
static
int
Start
(
audio_output_t
*
p_
aout
,
audio_sample_format_t
*
restrict
fmt
)
{
audio_output_t
*
p_aout
=
(
audio_output_t
*
)
p_this
;
aout_sys_t
*
p_sys
=
aout
->
sys
;
aout_sys_t
*
p_sys
=
p_aout
->
sys
;
OSStatus
status
=
0
;
...
...
@@ -110,7 +109,7 @@ static int Start( audio_output_t *aout, audio_sample_format_t *restrict fmt )
// This will be used for boosting the audio without the need of a mixer (floating-point conversion is expensive on ARM)
// AudioQueueSetParameter(p_sys->audioQueue, kAudioQueueParam_Volume, 12.0); // Defaults to 1.0
msg_Dbg
(
p_aout
,
"New AudioQueue output created (status = %i)"
,
status
);
msg_Dbg
(
p_aout
,
"New AudioQueue output created (status = %
l
i)"
,
status
);
// Allocate buffers for the AudioQueue, and pre-fill them.
for
(
int
i
=
0
;
i
<
NUMBER_OF_BUFFERS
;
++
i
)
{
...
...
@@ -129,7 +128,7 @@ static int Start( audio_output_t *aout, audio_sample_format_t *restrict fmt )
p_aout
->
flush
=
aout_PacketFlush
;
aout_SoftVolumeStart
(
p_aout
);
msg_Dbg
(
p_aout
,
"Starting AudioQueue (status = %i)"
,
status
);
msg_Dbg
(
p_aout
,
"Starting AudioQueue (status = %
l
i)"
,
status
);
status
=
AudioQueueStart
(
p_sys
->
audioQueue
,
NULL
);
return
VLC_SUCCESS
;
...
...
This diff is collapsed.
Click to expand it.
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