Skip to content

Commit aa7d619

Browse files
committed
Fix ring_waveform_loop_start typo in frequency calculation.
1 parent 24a8927 commit aa7d619

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
@@ -196,7 +196,7 @@ static bool synth_note_into_buffer(synthio_synth_t *synth, int chan, int32_t *ou
196196
ring_waveform = note->ring_waveform_buf.buf;
197197
ring_waveform_length = note->ring_waveform_buf.len;
198198
if (note->ring_waveform_loop_start > 0 && note->ring_waveform_loop_start < ring_waveform_length) {
199-
ring_waveform_start = note->waveform_loop_start;
199+
ring_waveform_start = note->ring_waveform_loop_start;
200200
}
201201
if (note->ring_waveform_loop_end > ring_waveform_start && note->ring_waveform_loop_end < ring_waveform_length) {
202202
ring_waveform_length = note->ring_waveform_loop_end;

0 commit comments

Comments
 (0)