Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
bc5318a9
Commit
bc5318a9
authored
Nov 26, 2009
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: lock output fifo later
parent
f66c1e0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/audio_output/output.c
src/audio_output/output.c
+2
-3
No files found.
src/audio_output/output.c
View file @
bc5318a9
...
...
@@ -53,14 +53,11 @@ int aout_OutputNew( aout_instance_t * p_aout,
p_aout
->
output
.
output
.
i_rate
=
i_rate
;
aout_FormatPrepare
(
&
p_aout
->
output
.
output
);
aout_lock_output_fifo
(
p_aout
);
/* Find the best output plug-in. */
p_aout
->
output
.
p_module
=
module_need
(
p_aout
,
"audio output"
,
"$aout"
,
false
);
if
(
p_aout
->
output
.
p_module
==
NULL
)
{
msg_Err
(
p_aout
,
"no suitable audio output module"
);
aout_unlock_output_fifo
(
p_aout
);
return
-
1
;
}
...
...
@@ -163,6 +160,8 @@ int aout_OutputNew( aout_instance_t * p_aout,
aout_FormatPrepare
(
&
p_aout
->
output
.
output
);
aout_lock_output_fifo
(
p_aout
);
/* Prepare FIFO. */
aout_FifoInit
(
p_aout
,
&
p_aout
->
output
.
fifo
,
p_aout
->
output
.
output
.
i_rate
);
...
...
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