From 60fdc6c9ab587f8af16253be0a9a39dd217c66fd Mon Sep 17 00:00:00 2001 From: William McPherson Date: Sun, 9 Feb 2020 20:35:56 +1100 Subject: [PATCH] Piano: Put reset() with other setters --- Applications/Piano/AudioEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Piano/AudioEngine.h b/Applications/Piano/AudioEngine.h index 4fa69ff449..0bd8771fe9 100644 --- a/Applications/Piano/AudioEngine.h +++ b/Applications/Piano/AudioEngine.h @@ -42,7 +42,6 @@ public: const FixedArray& buffer() const { return *m_front_buffer_ptr; } const Vector& recorded_sample() const { return m_recorded_sample; } - void reset(); Switch roll_note(int y, int x) const { return m_roll_notes[y][x]; } int current_column() const { return m_current_column; } int octave() const { return m_octave; } @@ -57,6 +56,7 @@ public: int tick() const { return m_tick; } void fill_buffer(FixedArray& buffer); + void reset(); String set_recorded_sample(const StringView& path); void set_note(int note, Switch); void set_note_current_octave(int note, Switch);