Commit b259308b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mono mixer: kill config_Get

parent e9a8f1e1
...@@ -205,7 +205,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data, ...@@ -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_nb_channels, uint32_t i_physical_channels,
unsigned int i_rate ) 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 = d_x;
double d_z_rear = -d_x/3; double d_z_rear = -d_x/3;
double d_min = 0; double d_min = 0;
...@@ -213,7 +213,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data, ...@@ -213,7 +213,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data,
int i_source_channel_offset; int i_source_channel_offset;
unsigned int i; unsigned int i;
if( config_GetInt( p_this, "headphone-compensate" ) ) if( var_InheritInteger( p_this, "headphone-compensate" ) )
{ {
/* minimal distance to any speaker */ /* minimal distance to any speaker */
if( i_physical_channels & AOUT_CHAN_REARCENTER ) if( i_physical_channels & AOUT_CHAN_REARCENTER )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment