[vlc-commits] Remove aout-rate
Rémi Denis-Courmont
git at videolan.org
Wed Aug 10 16:39:09 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 10 17:38:48 2011 +0300| [a07a0b5e5ab53504417d2529e2ace091231b13ec] | committer: Rémi Denis-Courmont
Remove aout-rate
I assume this breaks with S/PDIF. And I do not see much use for this.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a07a0b5e5ab53504417d2529e2ace091231b13ec
---
src/audio_output/output.c | 4 ----
src/libvlc-module.c | 3 +--
2 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/audio_output/output.c b/src/audio_output/output.c
index 7531f71..0c90444 100644
--- a/src/audio_output/output.c
+++ b/src/audio_output/output.c
@@ -53,10 +53,6 @@ int aout_OutputNew( audio_output_t *p_aout,
aout_assert_locked( p_aout );
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 );
/* Find the best output plug-in. */
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 5098508..7110d31 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1640,8 +1640,7 @@ vlc_module_begin ()
add_integer_with_range( "volume-step", AOUT_VOLUME_STEP, 0,
AOUT_VOLUME_MAX, VOLUME_STEP_TEXT,
VOLUME_STEP_LONGTEXT, true )
- add_integer( "aout-rate", 0, AOUT_RATE_TEXT,
- AOUT_RATE_LONGTEXT, true )
+ add_obsolete_integer( "aout-rate" ) /* since 1.2.0 */
#if HAVE_FPU && !defined( __APPLE__ )
add_bool( "hq-resampling", 1, AOUT_RESAMP_TEXT,
AOUT_RESAMP_LONGTEXT, true )
More information about the vlc-commits
mailing list