]> git.sesse.net Git - vlc/blobdiff - src/audio_output/input.c
Set i_bitspersample to correct value when changing an audio codec. (Not
[vlc] / src / audio_output / input.c
index c4fcb2eaf208ca05a9c126308cd285deb7005324..184e8f77dc5134e8f8171f01fb40d7c97493715d 100644 (file)
@@ -29,7 +29,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 
 #include <stdio.h>
 #include <string.h>
@@ -99,6 +99,8 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
         var_Change( p_aout, "visual", VLC_VAR_ADDCHOICE, &val, &text );
         val.psz_string = (char*)"spectrum"; text.psz_string = _("Spectrum");
         var_Change( p_aout, "visual", VLC_VAR_ADDCHOICE, &val, &text );
+        val.psz_string = (char*)"vuMeter"; text.psz_string = _("Vu meter");
+        var_Change( p_aout, "visual", VLC_VAR_ADDCHOICE, &val, &text );
 
         /* Look for goom plugin */
         if( module_Exists( VLC_OBJECT(p_aout), "goom" ) )