Fixed sync offset for post_record_handler
This commit is contained in:
@@ -173,7 +173,7 @@ impl PostRecordHandler {
|
||||
|
||||
// For each output position, calculate which input position to take from
|
||||
for i in 0..total_length {
|
||||
let source_index = (i + sync_offset) % total_length;
|
||||
let source_index = (i + total_length - sync_offset) % total_length;
|
||||
reordered.push(all_samples[source_index]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user