mirror of
https://github.com/overte-org/overte.git
synced 2025-07-29 19:50:32 +02:00
Fix for PTT not working comments
This commit is contained in:
parent
63038d12c2
commit
f109edbd48
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 Push-to-talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded.
|
// 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.
|
||||||
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 Push-to-talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded.
|
// 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.
|
||||||
setPTTHMD(isMuted);
|
setPTTHMD(isMuted);
|
||||||
}
|
}
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
|
Loading…
Reference in a new issue