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

headphone: kill config_Get

parent 26e19c58
......@@ -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 )
......
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