From 7c189d46f2732832417995600220ed3da03f335c Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Thu, 27 Jun 2019 13:26:40 -0700 Subject: [PATCH] BUGZ-363: Remove 20dB output attenuation during PTT --- interface/src/scripting/Audio.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/interface/src/scripting/Audio.cpp b/interface/src/scripting/Audio.cpp index 6df4729ee0..96d1fc9afb 100644 --- a/interface/src/scripting/Audio.cpp +++ b/interface/src/scripting/Audio.cpp @@ -366,10 +366,8 @@ void Audio::onContextChanged() { void Audio::handlePushedToTalk(bool enabled) { if (getPTT()) { if (enabled) { - DependencyManager::get()->setOutputGain(0.1f); // duck the output by 20dB setMuted(false); } else { - DependencyManager::get()->setOutputGain(1.0f); setMuted(true); } }