summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/talk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/talk.c b/apps/talk.c
index b5fa06d750..fd28fdfd71 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -377,7 +377,10 @@ static int shutup(void)
377 /* nothing to do, was frame boundary or not our clip */ 377 /* nothing to do, was frame boundary or not our clip */
378#if CONFIG_CODEC == SWCODEC 378#if CONFIG_CODEC == SWCODEC
379 mp3_play_abort(); 379 mp3_play_abort();
380#else
381 mp3_play_stop();
380#endif 382#endif
383
381 queue_write = queue_read = 0; /* reset the queue */ 384 queue_write = queue_read = 0; /* reset the queue */
382 385
383 return 0; 386 return 0;