diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-05-07 04:13:50 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-05-07 04:13:50 -0400 |
commit | 51a73d81cda6136f901e8d56f4720dc28edf648a (patch) | |
tree | a8dc5e70804d956064f10f09592d90107fe92b61 /apps | |
parent | c4a51d2d88f3120b5041f8a824a259903f1b78f2 (diff) | |
download | rockbox-51a73d81cda6136f901e8d56f4720dc28edf648a.tar.gz rockbox-51a73d81cda6136f901e8d56f4720dc28edf648a.zip |
Stop clickiness on manual track changes as best as possible.
Get the DSP_FLUSH sprinkled in the right spot so that history-
keeping prcessing stages are cleared on a forced stop. They already
were on a seek.
Change-Id: I560f1bc5fd813a4142fa099bf53ee1658e49cd8c
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codec_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c index dd745d3916..523f0b8e35 100644 --- a/apps/codec_thread.c +++ b/apps/codec_thread.c @@ -237,7 +237,6 @@ static void codec_pcmbuf_insert_callback( if (!queue_empty(&codec_queue) && codec_check_queue__have_msg() < 0) { - dsp_configure(ci.dsp, DSP_FLUSH, 0); /* Discontinuity */ return; } } @@ -383,6 +382,7 @@ static enum codec_command_action case Q_CODEC_STOP: /* Must only return 0 in main loop */ LOGFQUEUE("codec < Q_CODEC_STOP"); action = CODEC_ACTION_HALT; + dsp_configure(ci.dsp, DSP_FLUSH, 0); /* Discontinuity */ break; default: /* This is in error in this context. */ |