summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-12-07 20:35:05 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-08 18:34:02 -0800
commit1b2b5d2de9da01725898d25fea93925a82024ad4 (patch)
tree59a22b51e54b2d17012c35f2bbe0207de9334f59
parentc51309ac72ca96cdc0d22ba7549e614139595e65 (diff)
fix mac build break
-rw-r--r--indra/newview/llvoicewebrtc.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp
index b9755cdda1..9f290b9d4a 100644
--- a/indra/newview/llvoicewebrtc.cpp
+++ b/indra/newview/llvoicewebrtc.cpp
@@ -123,13 +123,6 @@ namespace {
const F32 CAPTURE_BUFFER_MAX_TIME = 10.f;
}
-static int scale_mic_volume(float volume)
-{
- // incoming volume has the range [0.0 ... 2.0], with 1.0 as the default.
- // Map it to WebRTC levels as follows: 0.0 -> 30, 1.0 -> 50, 2.0 -> 70
- return 30 + (int)(volume * 20.0f);
-}
-
///////////////////////////////////////////////////////////////////////////////////////////////