summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 42dbf56fe1..3bf3af1839 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -2379,9 +2379,6 @@ static bool audio_load_track(int offset, bool start_play)
else
track_id3 = bufgetid3(tracks[track_widx].id3_hid);
-#ifndef HAVE_FLASH_STORAGE
- set_filebuf_watermark(buffer_margin, 0);
-#endif
track_id3->elapsed = 0;
enum data_type type = TYPE_PACKET_AUDIO;
@@ -2804,6 +2801,9 @@ static void audio_play_start(size_t offset)
/* Officially playing */
queue_reply(&audio_queue, 1);
+#ifndef HAVE_FLASH_STORAGE
+ set_filebuf_watermark(buffer_margin, 0);
+#endif
audio_fill_file_buffer(true, offset);
LOGFQUEUE("audio > audio Q_AUDIO_TRACK_CHANGED");