1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

ABuffer: clamp -> clip

More natural term when talking about audio :)
This commit is contained in:
Robin Burchell 2019-07-17 09:43:43 +02:00 committed by Andreas Kling
parent ed25d524f2
commit fd6cafaa84
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ void ASMixer::mix()
for (int i = 0; i < mixed_buffer.size(); ++i) {
auto& mixed_sample = mixed_buffer[i];
mixed_sample.clamp();
mixed_sample.clip();
i16 out_sample;
out_sample = mixed_sample.left * std::numeric_limits<i16>::max();