mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-09 11:12:40 +02:00
Fix for PTT not working comments
This commit is contained in:
parent
f109edbd48
commit
f6a32b9318
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ void Audio::setMutedDesktop(bool isMuted) {
|
|||
}
|
||||
});
|
||||
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||
// If the user is not using pushing to talk and muted is changed to false, disable Push-To-Talk. 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);
|
||||
}
|
||||
if (changed) {
|
||||
|
@ -133,7 +133,7 @@ void Audio::setMutedHMD(bool isMuted) {
|
|||
}
|
||||
});
|
||||
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||
// If the user is not using pushing to talk and muted is changed to false, disable Push-To-Talk. 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);
|
||||
}
|
||||
if (changed) {
|
||||
|
|
Loading…
Reference in a new issue