mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +00:00
Piano: Put reset() with other setters
This commit is contained in:
parent
9997b0dbf5
commit
60fdc6c9ab
Notes:
sideshowbarker
2024-07-19 09:29:04 +09:00
Author: https://github.com/willmcpherson2
Commit: 60fdc6c9ab
Pull-request: https://github.com/SerenityOS/serenity/pull/1204
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,6 @@ public:
|
|||
|
||||
const FixedArray<Sample>& buffer() const { return *m_front_buffer_ptr; }
|
||||
const Vector<Audio::Sample>& 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<Sample>& buffer);
|
||||
void reset();
|
||||
String set_recorded_sample(const StringView& path);
|
||||
void set_note(int note, Switch);
|
||||
void set_note_current_octave(int note, Switch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue