forked from len0rd/rockbox
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
This commit is contained in:
parent
4049d44b03
commit
bbef13eddf
16 changed files with 23 additions and 15 deletions
|
|
@ -78,7 +78,7 @@ enum codec_status codec_start(struct codec_api* api)
|
|||
while (!*ci->taginfo_ready && !ci->stop_codec)
|
||||
ci->sleep(1);
|
||||
|
||||
ci->configure(DSP_SET_FREQUENCY, (long *)(rb->id3->frequency));
|
||||
ci->configure(DSP_SWITCH_FREQUENCY, (long *)(rb->id3->frequency));
|
||||
codec_set_replaygain(rb->id3);
|
||||
|
||||
stream_create(&input_stream,ci);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue