Cleaned up a miscomputed debug message
This commit is contained in:
parent
b12e4d372c
commit
a338fdaa7b
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ void sfz::Voice::fillWithData(AudioSpan<float> buffer) noexcept
|
|||
if (*index >= sampleEnd) {
|
||||
releaseAt = static_cast<int>(std::distance(indices.begin(), index));
|
||||
const auto remainingElements = static_cast<size_t>(std::distance(index, indices.end()));
|
||||
if (source.getNumFrames() != region->trueSampleEnd(currentPromise->oversamplingFactor)) {
|
||||
if (source.getNumFrames() - 1 < region->trueSampleEnd(currentPromise->oversamplingFactor)) {
|
||||
DBG("[sfizz] Underflow: source available samples "
|
||||
<< source.getNumFrames() << "/"
|
||||
<< region->trueSampleEnd(currentPromise->oversamplingFactor)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue