[vlc-commits] audiobargraph_a: variables are not COMMAND

Rafaël Carré git at videolan.org
Wed Apr 16 14:46:39 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 16 13:52:46 2014 +0200| [a697149ac3739ebd10a48faffb103e80ba0ba954] | committer: Rafaël Carré

audiobargraph_a: variables are not COMMAND

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a697149ac3739ebd10a48faffb103e80ba0ba954
---

 modules/audio_filter/audiobargraph_a.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/audio_filter/audiobargraph_a.c b/modules/audio_filter/audiobargraph_a.c
index fa56c4f..3264d7c 100644
--- a/modules/audio_filter/audiobargraph_a.c
+++ b/modules/audio_filter/audiobargraph_a.c
@@ -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;



More information about the vlc-commits mailing list