From 5967310d0b6273f45a2f15fffaad526895051ed7 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 27 Jan 2023 17:06:47 +0000 Subject: [PATCH] Piano: Remove declarations for non-existent methods --- Userland/Applications/Piano/AudioPlayerLoop.h | 2 -- Userland/Applications/Piano/ProcessorParameterWidget/Slider.h | 3 --- Userland/Applications/Piano/TrackManager.h | 1 - 3 files changed, 6 deletions(-) diff --git a/Userland/Applications/Piano/AudioPlayerLoop.h b/Userland/Applications/Piano/AudioPlayerLoop.h index be05e98f9d..5544f979dc 100644 --- a/Userland/Applications/Piano/AudioPlayerLoop.h +++ b/Userland/Applications/Piano/AudioPlayerLoop.h @@ -26,8 +26,6 @@ class AudioPlayerLoop final : public Core::Object { public: virtual ~AudioPlayerLoop() override; - void enqueue_audio(); - void toggle_paused(); bool is_playing() const { return m_should_play_audio; } diff --git a/Userland/Applications/Piano/ProcessorParameterWidget/Slider.h b/Userland/Applications/Piano/ProcessorParameterWidget/Slider.h index 9d028af9e0..bbf3d95c36 100644 --- a/Userland/Applications/Piano/ProcessorParameterWidget/Slider.h +++ b/Userland/Applications/Piano/ProcessorParameterWidget/Slider.h @@ -27,8 +27,5 @@ protected: DSP::ProcessorRangeParameter& m_parameter; private: - // Converts based on processor parameter boundaries. - int linear_to_logarithmic(int linear_value); - bool m_currently_setting_from_ui { false }; }; diff --git a/Userland/Applications/Piano/TrackManager.h b/Userland/Applications/Piano/TrackManager.h index 169b9f6a94..5076cc4183 100644 --- a/Userland/Applications/Piano/TrackManager.h +++ b/Userland/Applications/Piano/TrackManager.h @@ -41,7 +41,6 @@ public: void fill_buffer(FixedArray&); void reset(); - void set_keyboard_note(int note, DSP::Keyboard::Switch note_switch); void set_should_loop(bool b) { m_should_loop = b; } void add_track(); int next_track_index() const;