From f875609b187837c4332246a55c8032db07aa76c0 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 20 Jul 2007 14:40:53 +0200 Subject: Disable direct sinc table The direct sinc table can be noisy in some conditions (e.g. up-conversion from 11025 to 44100Hz). Disable it as a temporary solution for now. --- pph/resample.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pph') diff --git a/pph/resample.c b/pph/resample.c index 45fac60..281cb32 100644 --- a/pph/resample.c +++ b/pph/resample.c @@ -551,7 +551,10 @@ static void update_filter(SpeexResamplerState *st) } /* Choose the resampling type that requires the least amount of memory */ - if (st->den_rate <= st->oversample) + /* FIXME: The direct sinc table can be noisy in some conditions. + * Disable it as a temporary workaround. + */ + if (0 /*st->den_rate <= st->oversample*/) { spx_uint32_t i; if (!st->sinc_table) -- cgit