Mute system sounds by default if the output has been muted
parent
97d62d2653
commit
b2923025c1
|
@ -1,4 +1,8 @@
|
|||
# Changelog:
|
||||
* **24.11.19**
|
||||
- Fixed several bugs within the permission editor
|
||||
- Hide senseless permissions (disableable via options)
|
||||
|
||||
* **06.10.19**
|
||||
- Added the possibility to connect within an already running TeaWeb instance
|
||||
- Closing the emoji picker as soon the client clicks into the void
|
||||
|
|
|
@ -191,9 +191,9 @@ namespace sound {
|
|||
speech_volume[Sound[sound_key]] = data[Sound[sound_key]];
|
||||
}
|
||||
|
||||
master_volume = data.master || 1;
|
||||
overlap_sounds = data.overlap || true;
|
||||
ignore_muted = data.ignore_muted || true;
|
||||
master_volume = typeof(data.master) === "number" ? data.master : 1;
|
||||
overlap_sounds = typeof(data.overlap) === "boolean" ? data.overlap : true;
|
||||
ignore_muted = typeof(data.ignore_muted) === "boolean" ? data.ignore_muted : false;
|
||||
}
|
||||
|
||||
register_sound("message.received", "effects/message_received.wav");
|
||||
|
|
Loading…
Reference in New Issue