Fix FS#12118 - Voice UI has issues talking various issues in menus and in the file browswer. audio_pcmbuf_may_play should check play_status for !=PLAY_PAUSED, not ==PLAY_PLAYING so that PCM may auto-start when voicing out playback state.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29904 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
90aa993e00
commit
89e791cc4b
1 changed files with 1 additions and 1 deletions
|
@ -3159,7 +3159,7 @@ void audio_pcmbuf_track_change(bool pcmbuf)
|
||||||
/* May pcmbuf start PCM playback when the buffer is full enough? */
|
/* May pcmbuf start PCM playback when the buffer is full enough? */
|
||||||
bool audio_pcmbuf_may_play(void)
|
bool audio_pcmbuf_may_play(void)
|
||||||
{
|
{
|
||||||
return play_status == PLAY_PLAYING && !ff_rw_mode;
|
return play_status != PLAY_PAUSED && !ff_rw_mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue