[vlc-commits] audiobargraph_a: use CFG_PREFIX
Rafaël Carré
git at videolan.org
Wed Apr 16 14:46:38 CEST 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 16 13:48:19 2014 +0200| [fa478539d83421d63c00dbd279ebec4d5704416f] | committer: Rafaël Carré
audiobargraph_a: use CFG_PREFIX
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa478539d83421d63c00dbd279ebec4d5704416f
---
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 53cba3e..fa56c4f 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, "audiobargraph_a-bargraph" );
- p_sys->bargraph_repetition = var_CreateGetIntegerCommand( p_filter, "audiobargraph_a-bargraph_repetition" );
- p_sys->silence = var_CreateGetIntegerCommand( p_filter, "audiobargraph_a-silence" );
- p_sys->time_window = var_CreateGetIntegerCommand( p_filter, "audiobargraph_a-time_window" );
- p_sys->alarm_threshold = var_CreateGetFloatCommand( p_filter, "audiobargraph_a-alarm_threshold" );
- p_sys->repetition_time = var_CreateGetIntegerCommand( p_filter, "audiobargraph_a-repetition_time" );
+ 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->counter = 0;
p_sys->nbChannels = 0;
p_sys->first = NULL;
More information about the vlc-commits
mailing list