diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-20 14:40:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2007-07-20 14:40:53 +0200 |
commit | f875609b187837c4332246a55c8032db07aa76c0 (patch) | |
tree | aa19ad08cd82a1d285e2d5ba3b08efeac9b84f16 /pph | |
parent | 64d863f3372f22a9220b0b6445b85b8daf03334d (diff) |
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.
Diffstat (limited to 'pph')
-rw-r--r-- | pph/resample.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) |