--- src/pulsecore/resampler.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 2ed757f..d34de37 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulsecore/resampler.c @@ -1423,7 +1423,6 @@ static int libsamplerate_init(pa_resampler *r) { pa_assert(r); - if (!(state = src_new(r->method, r->o_ss.channels, &err))) return -1; @@ -1519,7 +1518,6 @@ static int speex_init(pa_resampler *r) { pa_assert(r); - if (r->method >= PA_RESAMPLER_SPEEX_FIXED_BASE && r->method <= PA_RESAMPLER_SPEEX_FIXED_MAX) { q = r->method - PA_RESAMPLER_SPEEX_FIXED_BASE; -- 1.8.3.2