summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-05-31 19:01:24 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-05-31 19:01:24 -0400
commit98c34d8723c949a7fcbc25ddf0e1c753008c982e (patch)
tree5e0d8634b869aba54c64fc29c63c53f004157f69
parente62cb566448ebb56e2b0ddcaea5fe90532d24488 (diff)
downloadrockbox-98c34d8.tar.gz
rockbox-98c34d8.tar.bz2
rockbox-98c34d8.zip
Argh, move a comment to the (now) proper location. :)
Change-Id: I13847b99d9aeaa05efa5b22a8e4842f193f01a3c
-rw-r--r--apps/playback.c1
-rw-r--r--apps/voice_thread.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 9cc29ea2d8..5e3e4d008d 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -347,6 +347,7 @@ void audio_pcmbuf_sync_position(void);
/** --- voice event --- **/
void playback_voice_event(void *data)
{
+ /* Make audio play softly while voice is speaking */
pcmbuf_soft_mode(*(bool *)data);
}
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 1fb8c15d1a..46471c0d9b 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -360,8 +360,6 @@ static enum voice_state voice_message(struct voice_thread_data *td)
if (quiet_counter <= 0)
{
- /* Make audio play more softly and set delay to return to normal
- playback level */
voice_playing = true;
send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing);
}