From bbef13eddfefffa1fbcf82185ed73c04a18d22eb Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 26 Nov 2006 12:02:47 +0000 Subject: SWCODEC: Stop clicks between tracks when resampler is active by only switching the DSP frequency and not resetting the resampler at track boundaries. Will make sure DSP is correctly flushed at dicontinuities but don't hear any problems currently. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11600 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/a52.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/a52.c') diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index 3d0c35d..b7190be 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c @@ -154,7 +154,7 @@ next_track: while (!ci->taginfo_ready) ci->yield(); - ci->configure(DSP_SET_FREQUENCY, (long *)(ci->id3->frequency)); + ci->configure(DSP_SWITCH_FREQUENCY, (long *)(ci->id3->frequency)); /* Intialise the A52 decoder and check for success */ state = a52_init(0); -- cgit v1.1