summaryrefslogtreecommitdiff
path: root/Userland/Applications/Piano
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-11-18 16:31:19 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-15 00:21:00 -0700
commitf1d486bcdee681671bf23edf19192d70325be623 (patch)
tree01925dd41b42d211dd1bad7b0bc7c3752284cb33 /Userland/Applications/Piano
parent0beca846245d406675a519518a678a57b147aa62 (diff)
downloadserenity-f1d486bcdee681671bf23edf19192d70325be623.zip
Piano: Make AudioPlayerLoop::is_playing const
Diffstat (limited to 'Userland/Applications/Piano')
-rw-r--r--Userland/Applications/Piano/AudioPlayerLoop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Piano/AudioPlayerLoop.h b/Userland/Applications/Piano/AudioPlayerLoop.h
index 6dace31bd1..3a27550cf1 100644
--- a/Userland/Applications/Piano/AudioPlayerLoop.h
+++ b/Userland/Applications/Piano/AudioPlayerLoop.h
@@ -26,7 +26,7 @@ public:
void enqueue_audio();
void toggle_paused();
- bool is_playing() { return m_should_play_audio; }
+ bool is_playing() const { return m_should_play_audio; }
private:
AudioPlayerLoop(TrackManager& track_manager, bool& need_to_write_wav, Audio::WavWriter& wav_writer);