Skip to content

Commit 021aaa4

Browse files
committed
synthio: remove unused 'phase' from Note objects
1 parent 1701552 commit 021aaa4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

shared-module/synthio/Note.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ void synthio_note_recalculate(synthio_note_obj_t *self, int32_t sample_rate) {
142142

143143
void synthio_note_start(synthio_note_obj_t *self, int32_t sample_rate) {
144144
synthio_note_recalculate(self, sample_rate);
145-
self->phase = 0;
146145
}
147146

148147
uint32_t synthio_note_envelope(synthio_note_obj_t *self) {

shared-module/synthio/Note.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ typedef struct synthio_note_obj {
3737

3838
int32_t sample_rate;
3939

40-
int32_t phase;
4140
int32_t frequency_scaled;
4241
int32_t amplitude_scaled;
4342
synthio_lfo_descr_t tremolo_descr, vibrato_descr;

0 commit comments

Comments
 (0)