mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 22:27:47 +02:00
naming CR feedback
This commit is contained in:
parent
0c90b7c4c2
commit
7a88c8362b
1 changed files with 5 additions and 5 deletions
|
@ -239,7 +239,7 @@ function updateOutputDeviceMutedOverlay(isMuted) {
|
|||
|
||||
|
||||
var savedAvatarGain = Audio.avatarGain;
|
||||
var savedInjectorGain = Audio.serverInjectorGain;
|
||||
var savedServerInjectorGain = Audio.serverInjectorGain;
|
||||
var savedLocalInjectorGain = Audio.localInjectorGain;
|
||||
var savedSystemInjectorGain = Audio.systemInjectorGain;
|
||||
function setOutputMuted(outputMuted) {
|
||||
|
@ -247,7 +247,7 @@ function setOutputMuted(outputMuted) {
|
|||
|
||||
if (outputMuted) {
|
||||
savedAvatarGain = Audio.avatarGain;
|
||||
savedInjectorGain = Audio.serverInjectorGain;
|
||||
savedServerInjectorGain = Audio.serverInjectorGain;
|
||||
savedLocalInjectorGain = Audio.localInjectorGain;
|
||||
savedSystemInjectorGain = Audio.systemInjectorGain;
|
||||
|
||||
|
@ -260,10 +260,10 @@ function setOutputMuted(outputMuted) {
|
|||
savedAvatarGain = 0;
|
||||
}
|
||||
Audio.avatarGain = savedAvatarGain;
|
||||
if (savedInjectorGain === -60) {
|
||||
savedInjectorGain = 0;
|
||||
if (savedServerInjectorGain === -60) {
|
||||
savedServerInjectorGain = 0;
|
||||
}
|
||||
Audio.serverInjectorGain = savedInjectorGain;
|
||||
Audio.serverInjectorGain = savedServerInjectorGain;
|
||||
if (savedLocalInjectorGain === -60) {
|
||||
savedLocalInjectorGain = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue