diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-08-28 12:46:17 +1000 |
|---|---|---|
| committer | cooljqln <cooljqln@noreply.codeberg.org> | 2024-08-28 04:07:21 +0000 |
| commit | 32869129fff6a0fc434ab2d9ae30d244c020636b (patch) | |
| tree | d8899b82a32e1ffaa3e3c2c56092decaef6f47a5 /src/tangara/audio/track_queue.cpp | |
| parent | 9ec8d6dafcee6c9722672eefad28ee3aeba4feb9 (diff) | |
| download | tangara-fw-32869129fff6a0fc434ab2d9ae30d244c020636b.tar.gz | |
clang-format
Diffstat (limited to 'src/tangara/audio/track_queue.cpp')
| -rw-r--r-- | src/tangara/audio/track_queue.cpp | 6 |
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(); |
