summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 2421774381..436fef3af1 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -436,6 +436,9 @@ unsigned char *audio_get_buffer(bool talk_buf, size_t *buffer_size)
436 } 436 }
437 /* else buffer_state will be AUDIOBUF_STATE_TRASHED at this point */ 437 /* else buffer_state will be AUDIOBUF_STATE_TRASHED at this point */
438 438
439 /* Reset the buffering thread so that it doesn't try to use the data */
440 buffering_reset(filebuf, filebuflen);
441
439 if (buffer_size == NULL) 442 if (buffer_size == NULL)
440 { 443 {
441 /* Special case for talk_init to use since it already knows it's 444 /* Special case for talk_init to use since it already knows it's