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:
parent
ed25d524f2
commit
fd6cafaa84
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue