Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
19295c5d
Commit
19295c5d
authored
Nov 29, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete audio locking rules
parent
4c627dc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/audio_output/common.c
src/audio_output/common.c
+5
-5
No files found.
src/audio_output/common.c
View file @
19295c5d
...
...
@@ -117,10 +117,10 @@ static void aout_Destructor( vlc_object_t * p_this )
/* Lock ordering rules:
*
* Mixer Input IFIFO OFIFO (< Inner lock)
* Mixer No!
N/A
Yes Yes
* Input N
/A No! Yes N/A
* Mixer No!
Yes
Yes Yes
* Input N
o! No! Yes Yes
* In FIFOs No! No! No! Yes
* Out FIFOs No! N
/A
No! No!
* Out FIFOs No! N
o!
No! No!
* (^ Outer lock)
*/
#ifdef AOUT_DEBUG
...
...
@@ -136,13 +136,13 @@ void aout_lock (unsigned i)
allowed
=
0
;
break
;
case
INPUT_LOCK
:
allowed
=
0
;
allowed
=
MIXER_LOCK
;
break
;
case
INPUT_FIFO_LOCK
:
allowed
=
MIXER_LOCK
|
INPUT_LOCK
;
break
;
case
OUTPUT_FIFO_LOCK
:
allowed
=
MIXER_LOCK
|
INPUT_FIFO_LOCK
;
allowed
=
MIXER_LOCK
|
INPUT_
LOCK
|
INPUT_
FIFO_LOCK
;
break
;
}
...
...
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