mirror of
https://github.com/onyx-and-iris/OBS-to-XAir.git
synced 2025-02-22 13:25:08 +00:00
use mute property
This commit is contained in:
parent
65a7a38a37
commit
0515b0980e
@ -40,10 +40,10 @@ class Observer:
|
||||
|
||||
def on_current_program_scene_changed(self, data):
|
||||
def ftoggle(i):
|
||||
self._mixer.strip[i - 1].mix.on = not self._mixer.strip[i - 1].mix.on
|
||||
self._mixer.strip[i - 1].mute = not self._mixer.strip[i - 1].mute
|
||||
|
||||
def fset(i, is_muted):
|
||||
self._mixer.strip[i - 1].mix.on = is_muted
|
||||
self._mixer.strip[i - 1].mute = is_muted
|
||||
|
||||
scene = data.scene_name
|
||||
print(f"Switched to scene {scene}")
|
||||
|
Loading…
Reference in New Issue
Block a user