[vlc-devel] commit: headphone: kill config_Get ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 30 19:39:44 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 20:24:58 2009 +0200| [e9a8f1e165fee8eaf38f955931a5bacbdca03e63] | committer: Rémi Denis-Courmont 

headphone: kill config_Get

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

 modules/audio_filter/channel_mixer/headphone.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_filter/channel_mixer/headphone.c b/modules/audio_filter/channel_mixer/headphone.c
index de68586..491781e 100644
--- a/modules/audio_filter/channel_mixer/headphone.c
+++ b/modules/audio_filter/channel_mixer/headphone.c
@@ -189,7 +189,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data
         , unsigned int i_nb_channels, uint32_t i_physical_channels
         , unsigned int i_rate )
 {
-    double d_x = config_GetInt( p_this, "headphone-dim" );
+    double d_x = var_InheritInteger( p_this, "headphone-dim" );
     double d_z = d_x;
     double d_z_rear = -d_x/3;
     double d_min = 0;
@@ -197,7 +197,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data
     int i_source_channel_offset;
     unsigned int i;
 
-    if( config_GetInt( p_this, "headphone-compensate" ) )
+    if( var_InheritInteger( p_this, "headphone-compensate" ) )
     {
         /* minimal distance to any speaker */
         if( i_physical_channels & AOUT_CHAN_REARCENTER )




More information about the vlc-devel mailing list