mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:51:20 +02:00
Merge pull request #16092 from RebeccaStankus/MuteIssues
Fix for PTT not working
This commit is contained in:
commit
860b5d0970
1 changed files with 4 additions and 4 deletions
|
@ -101,8 +101,8 @@ void Audio::setMutedDesktop(bool isMuted) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (!isMuted && _settingsLoaded) {
|
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||||
// Disable Push-To-Talk if muted is changed to false. Settings also need to be loaded.
|
// If the user is not pushing to talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded.
|
||||||
setPTTDesktop(isMuted);
|
setPTTDesktop(isMuted);
|
||||||
}
|
}
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
@ -132,8 +132,8 @@ void Audio::setMutedHMD(bool isMuted) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (!isMuted && _settingsLoaded) {
|
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||||
// Disable Push-To-Talk if muted is changed to false. Settings also need to be loaded.
|
// If the user is not pushing to talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded.
|
||||||
setPTTHMD(isMuted);
|
setPTTHMD(isMuted);
|
||||||
}
|
}
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
|
Loading…
Reference in a new issue