mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 03:04: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 (!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);
|
setPTTDesktop(isMuted);
|
||||||
}
|
}
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
@ -133,7 +133,7 @@ void Audio::setMutedHMD(bool isMuted) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
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);
|
setPTTHMD(isMuted);
|
||||||
}
|
}
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
|
Loading…
Reference in a new issue