diff options
| author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-10-07 22:42:18 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-10-08 17:33:48 +0300 |
| commit | d76d0c239cd02eefcab30f02fa2eb84eaf4f3cdc (patch) | |
| tree | 9abcac3de448031a01f7531e0d7667a2acb010ea | |
| parent | 69d7c0f7efa648b0016baa98ccbe584cb91203ff (diff) | |
#4796 Preferences' mic volume slider had no effect.
| -rw-r--r-- | indra/llwebrtc/llwebrtc.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp index cbf2dfd67e..2cf3f6bbf8 100644 --- a/indra/llwebrtc/llwebrtc.cpp +++ b/indra/llwebrtc/llwebrtc.cpp @@ -641,6 +641,13 @@ void LLWebRTCImpl::OnDevicesUpdated() void LLWebRTCImpl::setTuningMode(bool enable) { mTuningMode = enable; + if (!mTuningMode + && !mMute + && mPeerCustomProcessor + && mPeerCustomProcessor->getGain() != mGain) + { + mPeerCustomProcessor->setGain(mGain); + } mWorkerThread->PostTask( [this] { |
