diff options
author | MaZderMind <git@mazdermind.de> | 2016-11-07 21:28:52 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-11-07 21:28:52 +0100 |
commit | d8f80a7ebbf5a654b8c2591e8240479a4d2797e0 (patch) | |
tree | b4cb3da040871108d80182f88a28ead7c8948d0f /voctocore/lib/pipeline.py | |
parent | b61cd88f8085c2154534bf540a50e8e18542a322 (diff) | |
parent | 197e6d8244af1132441f7bba4a904c205a8d4d63 (diff) |
Merge commit '197e6d8244af1132441f7bba4a904c205a8d4d63'
repair missing merge from force-push to github
Diffstat (limited to 'voctocore/lib/pipeline.py')
-rw-r--r-- | voctocore/lib/pipeline.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/voctocore/lib/pipeline.py b/voctocore/lib/pipeline.py index 1a1349e..6213ac6 100644 --- a/voctocore/lib/pipeline.py +++ b/voctocore/lib/pipeline.py @@ -60,8 +60,14 @@ class Pipeline(object): self.log.info('Creating Videmixer') self.vmix = VideoMix() + # check if there is an audio source preconfigured + try: + audiosource = names.index(Config.get('mix', 'audiosource')) + except: + audiosource = 0 + self.log.info('Creating Audiomixer') - self.amix = AudioMix() + self.amix = AudioMix(audiosource) port = 16000 self.log.info('Creating Mixer-Background VSource at tcp-port %u', port) |