[vlc-devel] commit: mono mixer: 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:25:30 2009 +0200| [b259308b3f153784df593f5ef0d99e41ce71d42e] | committer: Rémi Denis-Courmont
mono mixer: kill config_Get
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b259308b3f153784df593f5ef0d99e41ce71d42e
---
modules/audio_filter/channel_mixer/mono.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/audio_filter/channel_mixer/mono.c b/modules/audio_filter/channel_mixer/mono.c
index 285d918..801c4a3 100644
--- a/modules/audio_filter/channel_mixer/mono.c
+++ b/modules/audio_filter/channel_mixer/mono.c
@@ -205,7 +205,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;
@@ -213,7 +213,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