summaryrefslogtreecommitdiff
path: root/Libraries/LibAudio/ABuffer.h
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2019-07-17 09:43:43 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-17 09:47:52 +0200
commitfd6cafaa84dc31709c3dee17728681dc6539162f (patch)
tree521e1df39197a9259ebdea05950a86ccaf39a2c7 /Libraries/LibAudio/ABuffer.h
parented25d524f25f8d558b2d9c1720053f388acbf6a6 (diff)
downloadserenity-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.h2
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;