]> git.sesse.net Git - vlc/commitdiff
Mark hq-resampling obsolete
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 27 Feb 2013 18:23:23 +0000 (20:23 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 27 Feb 2013 18:23:45 +0000 (20:23 +0200)
This option has not had any effects since VLC 1.1.8.

modules/audio_filter/resampler/bandlimited.c
src/libvlc-module.c

index 9e9adbbc5cd58135fa8c5d387494479f784292c7..f5c5c552a0803e489b30c6c27622747aeeb722f1 100644 (file)
@@ -300,13 +300,6 @@ static int OpenFilter( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
-#if !defined( SYS_DARWIN )
-    if( !var_InheritBool( p_this, "hq-resampling" ) )
-    {
-        return VLC_EGENERIC;
-    }
-#endif
-
     /* Allocate the memory needed to store the module's structure */
     p_filter->p_sys = p_sys = malloc( sizeof(struct filter_sys_t) );
     if( p_sys == NULL )
index 5c624a17753f3459681ad29c457cf8e569eecbbb..86cee401cb79beea222d0434ac319f8b9d883733 100644 (file)
@@ -154,14 +154,6 @@ static const char *const ppsz_snap_formats[] =
     "The volume can be recorded and automatically restored next time " \
     "VLC is used." )
 
-#if !defined( __APPLE__ )
-#define AOUT_RESAMP_TEXT N_("High quality audio resampling")
-#define AOUT_RESAMP_LONGTEXT N_( \
-    "This uses a high quality audio resampling algorithm. High quality " \
-    "audio resampling can be processor intensive so you can " \
-    "disable it and a cheaper resampling algorithm will be used instead.")
-#endif
-
 #define DESYNC_TEXT N_("Audio desynchronization compensation")
 #define DESYNC_LONGTEXT N_( \
     "This delays the audio output. The delay must be given in milliseconds. " \
@@ -1476,10 +1468,7 @@ vlc_module_begin ()
         change_integer_range( 1, AOUT_VOLUME_DEFAULT )
     add_bool( "volume-save", true, VOLUME_SAVE_TEXT, VOLUME_SAVE_TEXT, true )
     add_obsolete_integer( "aout-rate" ) /* since 2.0.0 */
-#if HAVE_FPU && !defined( __APPLE__ )
-    add_bool( "hq-resampling", 1, AOUT_RESAMP_TEXT,
-              AOUT_RESAMP_LONGTEXT, true )
-#endif
+    add_obsolete_bool( "hq-resampling" ) /* since 1.1.8 */
     add_bool( "spdif", 0, SPDIF_TEXT, SPDIF_LONGTEXT, false )
     add_integer( "force-dolby-surround", 0, FORCE_DOLBY_TEXT,
                  FORCE_DOLBY_LONGTEXT, false )