]> git.sesse.net Git - vlc/blobdiff - modules/audio_filter/normvol.c
Fixed output format of audio format.c convertor.
[vlc] / modules / audio_filter / normvol.c
index b2752f6dc13672287d3370474076ead619069cce..6a9dc2700bb1c0023a563a834b6c0380d7b3ffa6 100644 (file)
 # include "config.h"
 #endif
 
-#include <errno.h>                                                 /* ENOMEM */
-#include <ctype.h>
-#include <signal.h>
-
 #include <math.h>
 
-
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 
@@ -73,7 +68,7 @@ struct filter_sys_t
                 "increase the response time of the filter to a spike " \
                 "but will make it less sensitive to short variations." )
 
-#define LEVEL_TEXT N_("Max level" )
+#define LEVEL_TEXT N_("Maximal volume level" )
 #define LEVEL_LONGTEXT N_("If the average power over the last N buffers " \
                "is higher than this value, the volume will be normalized. " \
                "This value is a positive floating point number. A value " \
@@ -89,7 +84,7 @@ vlc_module_begin ()
                  true )
     add_float( "norm-max-level", 2.0, NULL, LEVEL_TEXT,
                LEVEL_LONGTEXT, true )
-    set_capability( "audio filter2", 0 )
+    set_capability( "audio filter", 0 )
     set_callbacks( Open, Close )
 vlc_module_end ()