Skip to content

Commit

Permalink
Fix: apply TomArrow's fix for SelectRangeEvery audio glitches. Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
pinterf committed Sep 28, 2021
1 parent 15f43c4 commit ac9ed0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avs_core/filters/field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ void __stdcall SelectRangeEvery::GetAudio(void* buf, int64_t start, int64_t coun

child->GetAudio(&samples[samples_filled*bps], start_offset, getsamples, env);
samples_filled += getsamples;
startframe = (iteration+1) * every;
startframe = (iteration+1) * length;
general_offset = 0; // On the following loops, general offset should be 0, as we are either skipping.
}
}
Expand Down

0 comments on commit ac9ed0f

Please sign in to comment.