From 2b545c3104af6c1c8150d55831c8d9eea1478471 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 29 Nov 2006 00:16:25 +0000 Subject: Fixed FS#6389 - Sound disappears after pitch change and jump to the start of the song. Forgot to reinit the resampler delta when adding DSP_FLUSH on my last change. Bah. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11621 a1c6a512-1295-4272-9138-f99709370657 --- apps/dsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dsp.c b/apps/dsp.c index b59c391..21bd00e 100644 --- a/apps/dsp.c +++ b/apps/dsp.c @@ -1058,6 +1058,7 @@ bool dsp_configure(int setting, void *value) case DSP_FLUSH: memset(&resample_data[current_codec], 0, sizeof (struct resample_data)); + resampler_set_delta(dsp->frequency); dither_init(); break; -- cgit v1.1