synthio: remove unused 'phase' from Note objects
This commit is contained in:
parent
1701552dec
commit
021aaa4599
@ -142,7 +142,6 @@ void synthio_note_recalculate(synthio_note_obj_t *self, int32_t sample_rate) {
|
||||
|
||||
void synthio_note_start(synthio_note_obj_t *self, int32_t sample_rate) {
|
||||
synthio_note_recalculate(self, sample_rate);
|
||||
self->phase = 0;
|
||||
}
|
||||
|
||||
uint32_t synthio_note_envelope(synthio_note_obj_t *self) {
|
||||
|
@ -37,7 +37,6 @@ typedef struct synthio_note_obj {
|
||||
|
||||
int32_t sample_rate;
|
||||
|
||||
int32_t phase;
|
||||
int32_t frequency_scaled;
|
||||
int32_t amplitude_scaled;
|
||||
synthio_lfo_descr_t tremolo_descr, vibrato_descr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user