synthio: remove unused 'phase' from Note objects

This commit is contained in:
Jeff Epler 2023-05-04 07:22:20 -05:00
parent 1701552dec
commit 021aaa4599
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 0 additions and 2 deletions

View File

@ -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) {

View File

@ -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;