Fixed sync offset for post_record_handler

This commit is contained in:
geens 2025-08-20 11:48:43 +02:00
parent 9b0d6d0e8c
commit 619506656d

View File

@ -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]);
}