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
fa5495cf
Commit
fa5495cf
authored
Jul 09, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix audio outputs access aout internals directly
parent
fd4a0ddc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/audio_output/audioqueue.c
modules/audio_output/audioqueue.c
+2
-2
modules/audio_output/sdl.c
modules/audio_output/sdl.c
+2
-2
No files found.
modules/audio_output/audioqueue.c
View file @
fa5495cf
...
...
@@ -159,9 +159,9 @@ void AudioQueueCallback(void * inUserData, AudioQueueRef inAQ, AudioQueueBufferR
aout_buffer_t
*
p_buffer
=
NULL
;
if
(
p_aout
)
{
vlc_mutex_lock
(
&
p_aout
->
output_fifo_
lock
);
vlc_mutex_lock
(
&
p_aout
->
lock
);
p_buffer
=
aout_FifoPop
(
&
p_aout
->
output
.
fifo
);
vlc_mutex_unlock
(
&
p_aout
->
output_fifo_
lock
);
vlc_mutex_unlock
(
&
p_aout
->
lock
);
}
if
(
p_buffer
!=
NULL
)
{
...
...
modules/audio_output/sdl.c
View file @
fa5495cf
...
...
@@ -251,9 +251,9 @@ static void SDLCallback( void * _p_aout, uint8_t * p_stream, int i_len )
* hardware latency, or the buffer state. So we just pop data and throw
* it at SDL's face. Nah. */
vlc_mutex_lock
(
&
p_aout
->
output_fifo_
lock
);
vlc_mutex_lock
(
&
p_aout
->
lock
);
p_buffer
=
aout_FifoPop
(
&
p_aout
->
output
.
fifo
);
vlc_mutex_unlock
(
&
p_aout
->
output_fifo_
lock
);
vlc_mutex_unlock
(
&
p_aout
->
lock
);
if
(
p_buffer
!=
NULL
)
{
...
...
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