diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-05-11 22:01:36 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-13 00:47:26 +0200 |
commit | 4d65607649df71123835e78ddd81e1840bfefaeb (patch) | |
tree | 3a98470b5cbdd76bc537418db5a687caec78c8f3 /Userland/Applications/Piano | |
parent | f23aea0c4b049c7b2ffab442175dfbd2ea7b54e8 (diff) | |
download | serenity-4d65607649df71123835e78ddd81e1840bfefaeb.zip |
LibDSP: Remove Transport's time counter reference API
This is what the old Transport in Piano had, but as everyone just
references Transport directly, there's no need for it anymore.
Diffstat (limited to 'Userland/Applications/Piano')
-rw-r--r-- | Userland/Applications/Piano/Track.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Piano/Track.cpp b/Userland/Applications/Piano/Track.cpp index a074e89c3d..b9132100de 100644 --- a/Userland/Applications/Piano/Track.cpp +++ b/Userland/Applications/Piano/Track.cpp @@ -27,7 +27,7 @@ Track::Track(u32 const& time) void Track::fill_sample(Sample& sample) { - m_temporary_transport->time() = m_time; + m_temporary_transport->set_time(m_time); auto playing_notes = LibDSP::RollNotes {}; |