From 4d37d1c32f7998b45786dd2de596019b6ba3269d Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Thu, 7 Dec 2023 20:35:05 -0800 Subject: fix mac build break --- indra/newview/llvoicewebrtc.cpp | 7 ------- 1 file changed, 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); -} - /////////////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3