From 022aa38396cecb11b9de4b61665a6416378b4a95 Mon Sep 17 00:00:00 2001 From: ailurux Date: Wed, 14 Aug 2024 10:19:26 +1000 Subject: [PATCH] Fix for position persisting when queue reset --- src/tangara/audio/track_queue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tangara/audio/track_queue.cpp b/src/tangara/audio/track_queue.cpp index 91bdda39..fb4ff696 100644 --- a/src/tangara/audio/track_queue.cpp +++ b/src/tangara/audio/track_queue.cpp @@ -286,6 +286,7 @@ auto TrackQueue::finish() -> void { auto TrackQueue::clear() -> void { { const std::unique_lock lock(mutex_); + position_ = 0; playlist_.clear(); opened_playlist_.reset(); if (shuffle_) {