We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39df7ca commit ec428b7Copy full SHA for ec428b7
shared-module/audiodelays/PitchShift.c
@@ -286,7 +286,7 @@ audioio_get_buffer_result_t audiodelays_pitch_shift_get_buffer(audiodelays_pitch
286
uint32_t read_overlap_offset = read_index + window_size * (read_index < self->window_index) - self->window_index;
287
288
// Read sample from buffer
289
- int32_t word = (int32_t)window_buffer[self->read_index + window_size * buf_offset];
+ int32_t word = (int32_t)window_buffer[read_index + window_size * buf_offset];
290
291
// Check if we're within the overlap range and mix buffer sample with overlap sample
292
if (read_overlap_offset > 0 && read_overlap_offset <= overlap_size) {
0 commit comments