mute implementat
This commit is contained in:
@@ -21,6 +21,7 @@ class toneGen {
|
||||
void setup(const uint8_t note, const uint8_t instrument, const uint8_t volume, const uint8_t effect);
|
||||
void setup(const uint16_t tracker_note);
|
||||
const int getSamples(const int numSamples, Sint16 *buffer);
|
||||
void setMute(const bool value);
|
||||
|
||||
private:
|
||||
uint8_t note, instrument, volume, effect;
|
||||
@@ -29,4 +30,5 @@ class toneGen {
|
||||
int note_length;
|
||||
int current_pos;
|
||||
float vibrato_counter;
|
||||
bool muted;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user