]> git.sesse.net Git - vlc/commitdiff
Do not #include <vlc_aout_mixer.h> from <vlc_aout.h>
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 30 May 2011 14:58:28 +0000 (17:58 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 30 May 2011 15:10:58 +0000 (18:10 +0300)
include/vlc_aout.h
modules/audio_mixer/float32.c
modules/audio_mixer/spdif.c
modules/audio_mixer/trivial.c
src/audio_output/aout_internal.h

index 7139d4328efe9e88b8da3479d00599ba4319e78f..a10f5de925f5d1495b6ea0eee2b5eec960212a8e 100644 (file)
@@ -150,7 +150,6 @@ struct aout_fifo_t
 };
 
 /* FIXME to remove once aout.h is cleaned a bit more */
-#include <vlc_aout_mixer.h>
 #include <vlc_block.h>
 
 /** audio output filter */
@@ -205,6 +204,8 @@ typedef struct aout_output_t
     bool              b_error;
 } aout_output_t;
 
+struct aout_mixer_t;
+
 /** audio output thread descriptor */
 struct aout_instance_t
 {
@@ -235,7 +236,7 @@ struct aout_instance_t
     audio_sample_format_t   mixer_format;
     aout_alloc_t            mixer_allocation;
     float                   mixer_multiplier;
-    aout_mixer_t            *p_mixer;
+    struct aout_mixer_t    *p_mixer;
 
     /* Output plug-in */
     aout_output_t           output;
index b68048491bfc2ac7a2f48ff5ae013e2c2383eb80..435872f199ab28767c7c5862c0c9ce63e98333b8 100644 (file)
@@ -33,6 +33,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
+#include <vlc_aout_mixer.h>
 
 /*****************************************************************************
  * Local prototypes
index 0bd545f728c5865f7ff127d2dba4381849376381..5accc7e186e3ae7f4b6f9af065897a7b8fb1b23f 100644 (file)
@@ -34,6 +34,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
+#include <vlc_aout_mixer.h>
 
 /*****************************************************************************
  * Local prototypes
index 09437102eb5615a2545bdd9b03a2b10a22d4506f..7c1f8bf67f2e5cd164504075cb2932d5c23393b0 100644 (file)
@@ -33,6 +33,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
+#include <vlc_aout_mixer.h>
 
 /*****************************************************************************
  * Local prototypes
index fb87f523dbaa7ebd4308b3175f3a8a12daf4368d..968805e7c14f0911e2d848077b54045c316a1b53 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef LIBVLC_AOUT_INTERNAL_H
 # define LIBVLC_AOUT_INTERNAL_H 1
 
+# include <vlc_aout_mixer.h>
+
 aout_buffer_t *aout_BufferAlloc(aout_alloc_t *allocation, mtime_t microseconds,
         aout_buffer_t *old_buffer);