summaryrefslogtreecommitdiffstats
path: root/apps/codecs/adx.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-26 12:02:47 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-26 12:02:47 +0000
commitbbef13eddfefffa1fbcf82185ed73c04a18d22eb (patch)
treebf7d8a684d5031851185498db8388f60a29be662 /apps/codecs/adx.c
parent4049d44b03d4a17cbf2f48f5f1360ac397da5ef5 (diff)
downloadrockbox-bbef13eddfefffa1fbcf82185ed73c04a18d22eb.tar.gz
rockbox-bbef13eddfefffa1fbcf82185ed73c04a18d22eb.tar.bz2
rockbox-bbef13eddfefffa1fbcf82185ed73c04a18d22eb.zip
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
Diffstat (limited to 'apps/codecs/adx.c')
-rw-r--r--apps/codecs/adx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/adx.c b/apps/codecs/adx.c
index 902f3ce06b..803600b23e 100644
--- a/apps/codecs/adx.c
+++ b/apps/codecs/adx.c
@@ -161,7 +161,7 @@ next_track:
bufoff = chanstart;
/* setup pcm buffer format */
- ci->configure(DSP_SET_FREQUENCY, (long *)(ci->id3->frequency));
+ ci->configure(DSP_SWITCH_FREQUENCY, (long *)(ci->id3->frequency));
if (channels == 2) {
ci->configure(DSP_SET_STEREO_MODE, (long *)STEREO_INTERLEAVED);
} else if (channels == 1) {