/*****************************************************************************
- * bandlimited.c : bandlimited interpolation resampler
+ * bandlimited.c : band-limited interpolation resampler
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: bandlimited.c,v 1.5 2003/03/05 22:37:05 gbazin Exp $
+ * $Id$
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
/*****************************************************************************
* Preamble:
*
- * This implementation of the bandlimited interpolationis based on the
+ * This implementation of the band-limited interpolationis based on the
* following paper:
* http://ccrma-www.stanford.edu/~jos/resample/resample.html
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("audio filter for bandlimited interpolation resampling") );
+ set_category( CAT_AUDIO );
+ set_subcategory( SUBCAT_AUDIO_MISC );
+ set_description( _("audio filter for band-limited interpolation resampling") );
set_capability( "audio filter", 20 );
set_callbacks( Create, Close );
vlc_module_end();
return VLC_EGENERIC;
}
+#if !defined( SYS_DARWIN )
+ if( !config_GetInt( p_this, "hq-resampling" ) )
+ {
+ return VLC_EGENERIC;
+ }
+#endif
+
/* Allocate the memory needed to store the module's structure */
p_filter->p_sys = malloc( sizeof(struct aout_filter_sys_t) );
if( p_filter->p_sys == NULL )