From 89e791cc4b7956e84459b71a398b037a089636c4 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 20 May 2011 22:52:34 +0000 Subject: [PATCH] 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 --- apps/playback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) /* May pcmbuf start PCM playback when the buffer is full enough? */ bool audio_pcmbuf_may_play(void) { - return play_status == PLAY_PLAYING && !ff_rw_mode; + return play_status != PLAY_PAUSED && !ff_rw_mode; }