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

Remove aout-rate

I assume this breaks with S/PDIF. And I do not see much use for this.
parent 55f0dc50
...@@ -53,10 +53,6 @@ int aout_OutputNew( audio_output_t *p_aout, ...@@ -53,10 +53,6 @@ int aout_OutputNew( audio_output_t *p_aout,
aout_assert_locked( p_aout ); aout_assert_locked( p_aout );
p_aout->format = *p_format; p_aout->format = *p_format;
/* Retrieve user defaults. */
int i_rate = var_InheritInteger( p_aout, "aout-rate" );
if ( i_rate != 0 )
p_aout->format.i_rate = i_rate;
aout_FormatPrepare( &p_aout->format ); aout_FormatPrepare( &p_aout->format );
/* Find the best output plug-in. */ /* Find the best output plug-in. */
......
...@@ -1640,8 +1640,7 @@ vlc_module_begin () ...@@ -1640,8 +1640,7 @@ vlc_module_begin ()
add_integer_with_range( "volume-step", AOUT_VOLUME_STEP, 0, add_integer_with_range( "volume-step", AOUT_VOLUME_STEP, 0,
AOUT_VOLUME_MAX, VOLUME_STEP_TEXT, AOUT_VOLUME_MAX, VOLUME_STEP_TEXT,
VOLUME_STEP_LONGTEXT, true ) VOLUME_STEP_LONGTEXT, true )
add_integer( "aout-rate", 0, AOUT_RATE_TEXT, add_obsolete_integer( "aout-rate" ) /* since 1.2.0 */
AOUT_RATE_LONGTEXT, true )
#if HAVE_FPU && !defined( __APPLE__ ) #if HAVE_FPU && !defined( __APPLE__ )
add_bool( "hq-resampling", 1, AOUT_RESAMP_TEXT, add_bool( "hq-resampling", 1, AOUT_RESAMP_TEXT,
AOUT_RESAMP_LONGTEXT, true ) AOUT_RESAMP_LONGTEXT, true )
......
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