]> git.sesse.net Git - vlc/commitdiff
audiobargraph_a: variables are not COMMAND
authorRafaël Carré <funman@videolan.org>
Wed, 16 Apr 2014 11:52:46 +0000 (13:52 +0200)
committerRafaël Carré <funman@videolan.org>
Wed, 16 Apr 2014 11:52:46 +0000 (13:52 +0200)
modules/audio_filter/audiobargraph_a.c

index fa56c4f93914de85fc5128534999d8e6db401e41..3264d7cb729b3062ec8296b6b77d0a364dc3b7eb 100644 (file)
@@ -118,12 +118,12 @@ static int Open( vlc_object_t *p_this )
     if( !p_sys )
         return VLC_ENOMEM;
 
-    p_sys->bargraph = var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "bargraph" );
-    p_sys->bargraph_repetition = var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "bargraph_repetition" );
-    p_sys->silence = var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "silence" );
-    p_sys->time_window = var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "time_window" );
-    p_sys->alarm_threshold = var_CreateGetFloatCommand( p_filter, CFG_PREFIX "alarm_threshold" );
-    p_sys->repetition_time = var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "repetition_time" );
+    p_sys->bargraph = var_CreateGetInteger( p_filter, CFG_PREFIX "bargraph" );
+    p_sys->bargraph_repetition = var_CreateGetInteger( p_filter, CFG_PREFIX "bargraph_repetition" );
+    p_sys->silence = var_CreateGetInteger( p_filter, CFG_PREFIX "silence" );
+    p_sys->time_window = var_CreateGetInteger( p_filter, CFG_PREFIX "time_window" );
+    p_sys->alarm_threshold = var_CreateGetFloat( p_filter, CFG_PREFIX "alarm_threshold" );
+    p_sys->repetition_time = var_CreateGetInteger( p_filter, CFG_PREFIX "repetition_time" );
     p_sys->counter = 0;
     p_sys->nbChannels = 0;
     p_sys->first = NULL;