Skip to content

Commit

Permalink
Piano: Put reset() with other setters
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcpherson2 authored and awesomekling committed Feb 10, 2020
1 parent 9997b0d commit 60fdc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Applications/Piano/AudioEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class AudioEngine {

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; }
Expand All @@ -57,6 +56,7 @@ class AudioEngine {
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);
Expand Down

0 comments on commit 60fdc6c

Please sign in to comment.