summaryrefslogtreecommitdiff
path: root/voctocore/lib/commands.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-14 15:44:34 +0200
committerMaZderMind <github@mazdermind.de>2015-05-14 15:44:34 +0200
commit0b222cd7f66375356f3826a5c0f77f15a3793f0d (patch)
tree453d4155a54e737d8b674dffd71ee5572645d288 /voctocore/lib/commands.py
parent421ae902167ec993afe5b0c54909e22c245dfe6a (diff)
Implement an Audio-Mixer
Diffstat (limited to 'voctocore/lib/commands.py')
-rw-r--r--voctocore/lib/commands.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/voctocore/lib/commands.py b/voctocore/lib/commands.py
index c898baf..5975e98 100644
--- a/voctocore/lib/commands.py
+++ b/voctocore/lib/commands.py
@@ -27,12 +27,17 @@ class ControlServerCommands():
def set_video_a(self, src_name_or_id):
src_id = self.decodeSourceName(src_name_or_id)
- self.pipeline.vmix.setVideoA(src_id)
+ self.pipeline.vmix.setVideoSourceA(src_id)
return True
def set_video_b(self, src_name_or_id):
src_id = self.decodeSourceName(src_name_or_id)
- self.pipeline.vmix.setVideoB(src_id)
+ self.pipeline.vmix.setVideoSourceB(src_id)
+ return True
+
+ def set_audio(self, src_name_or_id):
+ src_id = self.decodeSourceName(src_name_or_id)
+ self.pipeline.amix.setAudioSource(src_id)
return True
def set_composite_mode(self, composite_mode):