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
bf47f37a
Commit
bf47f37a
authored
Nov 19, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audioqueue: compilation and compiler wanring fixes
parent
2536850f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/audio_output/audioqueue.c
modules/audio_output/audioqueue.c
+4
-5
No files found.
modules/audio_output/audioqueue.c
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
;
...
...
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