mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
c4a51d2d88
commit
51a73d81cd
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,6 @@ static void codec_pcmbuf_insert_callback(
|
||||||
if (!queue_empty(&codec_queue) &&
|
if (!queue_empty(&codec_queue) &&
|
||||||
codec_check_queue__have_msg() < 0)
|
codec_check_queue__have_msg() < 0)
|
||||||
{
|
{
|
||||||
dsp_configure(ci.dsp, DSP_FLUSH, 0); /* Discontinuity */
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -383,6 +382,7 @@ static enum codec_command_action
|
||||||
case Q_CODEC_STOP: /* Must only return 0 in main loop */
|
case Q_CODEC_STOP: /* Must only return 0 in main loop */
|
||||||
LOGFQUEUE("codec < Q_CODEC_STOP");
|
LOGFQUEUE("codec < Q_CODEC_STOP");
|
||||||
action = CODEC_ACTION_HALT;
|
action = CODEC_ACTION_HALT;
|
||||||
|
dsp_configure(ci.dsp, DSP_FLUSH, 0); /* Discontinuity */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: /* This is in error in this context. */
|
default: /* This is in error in this context. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue