diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-11-26 12:02:47 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-11-26 12:02:47 +0000 |
commit | bbef13eddfefffa1fbcf82185ed73c04a18d22eb (patch) | |
tree | bf7d8a684d5031851185498db8388f60a29be662 /apps/codecs/sid.c | |
parent | 4049d44b03d4a17cbf2f48f5f1360ac397da5ef5 (diff) | |
download | rockbox-bbef13eddfefffa1fbcf82185ed73c04a18d22eb.tar.gz 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/sid.c')
-rw-r--r-- | apps/codecs/sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/sid.c b/apps/codecs/sid.c index c95e44b426..d356da7fee 100644 --- a/apps/codecs/sid.c +++ b/apps/codecs/sid.c | |||
@@ -1267,7 +1267,7 @@ next_track: | |||
1267 | 1267 | ||
1268 | 1268 | ||
1269 | /* Make use of 44.1khz */ | 1269 | /* Make use of 44.1khz */ |
1270 | ci->configure(DSP_SET_FREQUENCY, (long *)44100); | 1270 | ci->configure(DSP_SWITCH_FREQUENCY, (long *)44100); |
1271 | /* Sample depth is 28 bit host endian */ | 1271 | /* Sample depth is 28 bit host endian */ |
1272 | ci->configure(DSP_SET_SAMPLE_DEPTH, (long *)28); | 1272 | ci->configure(DSP_SET_SAMPLE_DEPTH, (long *)28); |
1273 | /* Mono output */ | 1273 | /* Mono output */ |