summaryrefslogtreecommitdiffstats
path: root/pph/resample.c
diff options
context:
space:
mode:
Diffstat (limited to 'pph/resample.c')
-rw-r--r--pph/resample.c5
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)