]> git.sesse.net Git - vlc/commitdiff
Adjust rules, output FIFO after input FIFOs
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 29 Nov 2009 11:06:31 +0000 (13:06 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 29 Nov 2009 11:06:31 +0000 (13:06 +0200)
src/audio_output/common.c

index 0c9cda76bc3128136a2c858450ae66c5bf2f82fb..8b8458057769ab226a87513fef617cf414fc36f4 100644 (file)
@@ -119,8 +119,8 @@ static void aout_Destructor( vlc_object_t * p_this )
  *            Mixer Input IFIFO OFIFO (< Inner lock)
  * Mixer       No!   N/A   Yes   Yes
  * Input       N/A   No!   Yes   N/A
- * In FIFOs    No!   No!   No!   No!
- * Out FIFOs   No!   N/A   Yes   No!
+ * In FIFOs    No!   No!   No!   Yes
+ * Out FIFOs   No!   N/A   No!   No!
  * (^ Outer lock)
  */
 #ifdef AOUT_DEBUG
@@ -138,11 +138,11 @@ void aout_lock (unsigned i)
         case INPUT_LOCK:
             allowed = 0;
             break;
-        case OUTPUT_FIFO_LOCK:
-            allowed = MIXER_LOCK;
-            break;
         case INPUT_FIFO_LOCK:
-            allowed = MIXER_LOCK|INPUT_LOCK|OUTPUT_FIFO_LOCK;
+            allowed = MIXER_LOCK|INPUT_LOCK;
+            break;
+        case OUTPUT_FIFO_LOCK:
+            allowed = MIXER_LOCK|INPUT_FIFO_LOCK;
             break;
     }