diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-07-17 09:43:43 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-17 09:47:52 +0200 |
commit | fd6cafaa84dc31709c3dee17728681dc6539162f (patch) | |
tree | 521e1df39197a9259ebdea05950a86ccaf39a2c7 /Libraries/LibAudio/ABuffer.h | |
parent | ed25d524f25f8d558b2d9c1720053f388acbf6a6 (diff) | |
download | serenity-fd6cafaa84dc31709c3dee17728681dc6539162f.zip |
ABuffer: clamp -> clip
More natural term when talking about audio :)
Diffstat (limited to 'Libraries/LibAudio/ABuffer.h')
-rw-r--r-- | Libraries/LibAudio/ABuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibAudio/ABuffer.h b/Libraries/LibAudio/ABuffer.h index 53ccbb0694..1bae00e6c2 100644 --- a/Libraries/LibAudio/ABuffer.h +++ b/Libraries/LibAudio/ABuffer.h @@ -25,7 +25,7 @@ struct ASample { , right(right) {} - void clamp() + void clip() { if (left > 1) left = 1; |