10000 Accidently removed an int16_t · rschanafelt/circuitpython@530ce2d · GitHub
[go: up one dir, main page]

Skip to content

Commit 530ce2d

Browse files
committed
Accidently removed an int16_t
1 parent ce75e5d commit 530ce2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/synthio/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ static bool synth_note_into_buffer(synthio_synth_t *synth, int chan, int32_t *ou
270270
accum = accum - lim + offset;
271271
}
272272
int16_t idx = accum >> SYNTHIO_FREQUENCY_SHIFT;
273-
wi = (ring_waveform[idx] * out_buffer32[i]) / 32768; // consider for synthio_sat16 but had a weird artificat
273+
int16_t wi = (ring_waveform[idx] * out_buffer32[i]) / 32768; // consider for synthio_sat16 but had a weird artificat
274274
out_buffer32[i] = wi;
275275
}
276276
synth->ring_accum[chan] = accum;

0 commit comments

Comments
 (0)
0