summaryrefslogtreecommitdiff
path: root/src/audio/audio_fsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/audio_fsm.cpp')
-rw-r--r--src/audio/audio_fsm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio/audio_fsm.cpp b/src/audio/audio_fsm.cpp
index 50f18452..d4272c3d 100644
--- a/src/audio/audio_fsm.cpp
+++ b/src/audio/audio_fsm.cpp
@@ -290,10 +290,12 @@ void Playback::react(const PlayFile& ev) {
}
void Standby::react(const SeekFile& ev) {
+ clearDrainBuffer();
sFileSource->SetPath(ev.filename, ev.offset);
}
void Playback::react(const SeekFile& ev) {
+ clearDrainBuffer();
sFileSource->SetPath(ev.filename, ev.offset);
}