Let's make clang-tidy happy
This commit is contained in:
parent
8a2e17ec92
commit
7a5fd53001
1 changed files with 1 additions and 1 deletions
|
|
@ -571,7 +571,7 @@ void sfz::Voice::fillWithData(AudioSpan<float> buffer) noexcept
|
|||
if (isLooping) {
|
||||
loopStart = static_cast<int>(region->loopStart(currentPromise->oversamplingFactor));
|
||||
loopSize = loopEnd + 1 - loopStart;
|
||||
loopXfadeSize = static_cast<int>(region->loopCrossfade * sampleRate + 0.5);
|
||||
loopXfadeSize = static_cast<int>(lroundPositive(region->loopCrossfade * sampleRate));
|
||||
loopXfOutStart = loopEnd + 1 - loopXfadeSize;
|
||||
loopXfInStart = loopStart - loopXfadeSize;
|
||||
for (auto& buf : xfadeTemp) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue