This adds back the 'auto' resampling method to the supported resampler methods. --- src/pulsecore/resampler.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 673d43b..2ed757f 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulsecore/resampler.c @@ -77,6 +77,10 @@ struct pa_resampler { pa_resampler_implementation implementation; }; +static pa_resampler_implementation auto_impl = { + .names = { "auto" }, +}; + static int copy_init(pa_resampler *r); static pa_resampler_implementation copy_impl = { @@ -211,6 +215,7 @@ static pa_resampler_implementation *impl_table[] = { [PA_RESAMPLER_SPEEX_FLOAT_BASE] = NULL, #endif [PA_RESAMPLER_FFMPEG] = &ffmpeg_impl, + [PA_RESAMPLER_AUTO] = &auto_impl, [PA_RESAMPLER_COPY] = ©_impl, [PA_RESAMPLER_PEAKS] = &peaks_impl, }; -- 1.8.3.2