mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +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 savedAvatarGain = Audio.avatarGain;
|
||||||
var savedInjectorGain = Audio.serverInjectorGain;
|
var savedServerInjectorGain = Audio.serverInjectorGain;
|
||||||
var savedLocalInjectorGain = Audio.localInjectorGain;
|
var savedLocalInjectorGain = Audio.localInjectorGain;
|
||||||
var savedSystemInjectorGain = Audio.systemInjectorGain;
|
var savedSystemInjectorGain = Audio.systemInjectorGain;
|
||||||
function setOutputMuted(outputMuted) {
|
function setOutputMuted(outputMuted) {
|
||||||
|
@ -247,7 +247,7 @@ function setOutputMuted(outputMuted) {
|
||||||
|
|
||||||
if (outputMuted) {
|
if (outputMuted) {
|
||||||
savedAvatarGain = Audio.avatarGain;
|
savedAvatarGain = Audio.avatarGain;
|
||||||
savedInjectorGain = Audio.serverInjectorGain;
|
savedServerInjectorGain = Audio.serverInjectorGain;
|
||||||
savedLocalInjectorGain = Audio.localInjectorGain;
|
savedLocalInjectorGain = Audio.localInjectorGain;
|
||||||
savedSystemInjectorGain = Audio.systemInjectorGain;
|
savedSystemInjectorGain = Audio.systemInjectorGain;
|
||||||
|
|
||||||
|
@ -260,10 +260,10 @@ function setOutputMuted(outputMuted) {
|
||||||
savedAvatarGain = 0;
|
savedAvatarGain = 0;
|
||||||
}
|
}
|
||||||
Audio.avatarGain = savedAvatarGain;
|
Audio.avatarGain = savedAvatarGain;
|
||||||
if (savedInjectorGain === -60) {
|
if (savedServerInjectorGain === -60) {
|
||||||
savedInjectorGain = 0;
|
savedServerInjectorGain = 0;
|
||||||
}
|
}
|
||||||
Audio.serverInjectorGain = savedInjectorGain;
|
Audio.serverInjectorGain = savedServerInjectorGain;
|
||||||
if (savedLocalInjectorGain === -60) {
|
if (savedLocalInjectorGain === -60) {
|
||||||
savedLocalInjectorGain = 0;
|
savedLocalInjectorGain = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue