summaryrefslogtreecommitdiff
path: root/src/tangara/audio/track_queue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tangara/audio/track_queue.cpp')
-rw-r--r--src/tangara/audio/track_queue.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tangara/audio/track_queue.cpp b/src/tangara/audio/track_queue.cpp
index 4f90e2ea..6fa5511c 100644
--- a/src/tangara/audio/track_queue.cpp
+++ b/src/tangara/audio/track_queue.cpp
@@ -138,7 +138,8 @@ auto TrackQueue::open() -> bool {
return playlist_.open();
}
-auto TrackQueue::openPlaylist(const std::string& playlist_file, bool notify) -> bool {
+auto TrackQueue::openPlaylist(const std::string& playlist_file, bool notify)
+ -> bool {
opened_playlist_.emplace(playlist_file);
auto res = opened_playlist_->open();
if (!res) {
@@ -414,7 +415,8 @@ cppbor::ParseClient* TrackQueue::QueueParseClient::item(
i_ = 0;
} else if (item->type() == cppbor::UINT) {
auto val = item->asUint()->unsignedValue();
- // Save the position so we can apply it later when we have finished serialising
+ // Save the position so we can apply it later when we have finished
+ // serialising
position_to_set_ = val;
} else if (item->type() == cppbor::TSTR) {
auto val = item->asTstr();