summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-05-20 22:52:34 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-05-20 22:52:34 +0000
commit89e791cc4b7956e84459b71a398b037a089636c4 (patch)
tree1c7ca00b9badf3f092f0a7c7a102b90fa1a1030b /apps
parent90aa993e00fecf46f89937a439ec43caa269c7b0 (diff)
downloadrockbox-89e791cc4b7956e84459b71a398b037a089636c4.tar.gz
rockbox-89e791cc4b7956e84459b71a398b037a089636c4.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index a808a62a0e..2fbc4a85a1 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -3159,7 +3159,7 @@ void audio_pcmbuf_track_change(bool pcmbuf)
3159/* May pcmbuf start PCM playback when the buffer is full enough? */ 3159/* May pcmbuf start PCM playback when the buffer is full enough? */
3160bool audio_pcmbuf_may_play(void) 3160bool audio_pcmbuf_may_play(void)
3161{ 3161{
3162 return play_status == PLAY_PLAYING && !ff_rw_mode; 3162 return play_status != PLAY_PAUSED && !ff_rw_mode;
3163} 3163}
3164 3164
3165 3165