mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-15 19:39:24 +02:00
BUGZ-363: Remove 20dB output attenuation during PTT
This commit is contained in:
parent
b6cefd8dfb
commit
7c189d46f2
1 changed files with 0 additions and 2 deletions
|
@ -366,10 +366,8 @@ void Audio::onContextChanged() {
|
|||
void Audio::handlePushedToTalk(bool enabled) {
|
||||
if (getPTT()) {
|
||||
if (enabled) {
|
||||
DependencyManager::get<AudioClient>()->setOutputGain(0.1f); // duck the output by 20dB
|
||||
setMuted(false);
|
||||
} else {
|
||||
DependencyManager::get<AudioClient>()->setOutputGain(1.0f);
|
||||
setMuted(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue