From: RĂ©mi Denis-Courmont Date: Wed, 30 Dec 2009 18:24:58 +0000 (+0200) Subject: headphone: kill config_Get X-Git-Tag: 1.1.0-ff~1578 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e9a8f1e165fee8eaf38f955931a5bacbdca03e63;p=vlc headphone: kill config_Get --- diff --git a/modules/audio_filter/channel_mixer/headphone.c b/modules/audio_filter/channel_mixer/headphone.c index de68586986..491781ee79 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 )