Build Fix
publish / publish (push) Successful in 14m13s

This commit is contained in:
khodowany
2026-09-18 17:51:21 -05:00
parent 95f6f6aaad
commit 651fa1845c
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ auto sonus::detail::sequence_player::render(std::float32_t *output, std::uint64_
}
for (auto channel = std::uint32_t{}; channel < channels; ++channel) {
auto &destination = output[frame * channels + channel];
destination = std::clamp(destination + mixed * sequence.gain * gain, -1.0F, 1.0F);
destination = std::clamp<std::float32_t>(destination + mixed * sequence.gain * gain, -1.0F, 1.0F);
}
}
if (current->frame == current->end_frame) {