diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/playback.c b/apps/playback.c index 13167e3ffe..b7d3b9987f 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -658,8 +658,7 @@ void audio_play(long offset) | |||
658 | #ifdef PLAYBACK_VOICE | 658 | #ifdef PLAYBACK_VOICE |
659 | /* Truncate any existing voice output so we don't have spelling | 659 | /* Truncate any existing voice output so we don't have spelling |
660 | * etc. over the first part of the played track */ | 660 | * etc. over the first part of the played track */ |
661 | LOGFQUEUE("mp3 > voice Q_VOICE_STOP"); | 661 | do_shutup(); |
662 | queue_post(&voice_queue, Q_VOICE_STOP, 1); | ||
663 | #endif | 662 | #endif |
664 | 663 | ||
665 | /* Start playback */ | 664 | /* Start playback */ |
@@ -943,8 +942,7 @@ static void voice_stop(void) | |||
943 | if (!voice_codec_loaded) | 942 | if (!voice_codec_loaded) |
944 | return; | 943 | return; |
945 | 944 | ||
946 | LOGFQUEUE("mp3 > voice Q_VOICE_STOP"); | 945 | do_shutup(); |
947 | queue_post(&voice_queue, Q_VOICE_STOP, 0); | ||
948 | 946 | ||
949 | /* Loop until voice empties it's queue, stops and picks up on the new | 947 | /* Loop until voice empties it's queue, stops and picks up on the new |
950 | track; the voice thread must be stopped and waiting for messages | 948 | track; the voice thread must be stopped and waiting for messages |