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/audio_fsm.cpp | |
| parent | 6c1757a1766180497dc5196193c9e81417074ba7 (diff) | |
| download | tangara-fw-c479d699d059bc58e6850d43b14f2e91c2076e12.tar.gz | |
Implements seeking to saved position for tracks
Diffstat (limited to 'src/tangara/audio/audio_fsm.cpp')
| -rw-r--r-- | src/tangara/audio/audio_fsm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tangara/audio/audio_fsm.cpp b/src/tangara/audio/audio_fsm.cpp index 71decd48..dd9f2fde 100644 --- a/src/tangara/audio/audio_fsm.cpp +++ b/src/tangara/audio/audio_fsm.cpp @@ -113,7 +113,7 @@ auto AudioState::emitPlaybackUpdate(bool paused) -> void { void AudioState::react(const QueueUpdate& ev) { SetTrack cmd{ .new_track = std::monostate{}, - .seek_to_second = {}, + .seek_to_second = ev.seek_to_second, }; auto current = sServices->track_queue().current(); |
