mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
Piano: Put reset() with other setters
This commit is contained in:
parent
9997b0dbf5
commit
60fdc6c9ab
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