diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-09-17 14:13:05 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-09-17 14:13:05 +1000 |
| commit | c479d699d059bc58e6850d43b14f2e91c2076e12 (patch) | |
| tree | ef9c059f377ab74a438d26f194bca4f7d1f76aac /src/tangara/audio/track_queue.hpp | |
| parent | 6c1757a1766180497dc5196193c9e81417074ba7 (diff) | |
| download | tangara-fw-c479d699d059bc58e6850d43b14f2e91c2076e12.tar.gz | |
Implements seeking to saved position for tracks
Diffstat (limited to 'src/tangara/audio/track_queue.hpp')
| -rw-r--r-- | src/tangara/audio/track_queue.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tangara/audio/track_queue.hpp b/src/tangara/audio/track_queue.hpp index a8d1dc3a..727b4be0 100644 --- a/src/tangara/audio/track_queue.hpp +++ b/src/tangara/audio/track_queue.hpp @@ -78,6 +78,7 @@ class TrackQueue { auto open() -> bool; auto openPlaylist(const std::string& playlist_file, bool notify = true) -> bool; + auto playFromPosition(const std::string& filepath, uint32_t position) -> void; using Item = std::variant<database::TrackId, database::TrackIterator, std::string>; |
