mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 04:53:28 +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) {
|
||||
// Disable Push-To-Talk if muted is changed to false. Settings also need to be loaded.
|
||||
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||
// 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);
|
||||
}
|
||||
if (changed) {
|
||||
|
@ -132,8 +132,8 @@ void Audio::setMutedHMD(bool isMuted) {
|
|||
}
|
||||
}
|
||||
});
|
||||
if (!isMuted && _settingsLoaded) {
|
||||
// Disable Push-To-Talk if muted is changed to false. Settings also need to be loaded.
|
||||
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||
// 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);
|
||||
}
|
||||
if (changed) {
|
||||
|
|
Loading…
Reference in a new issue