summaryrefslogtreecommitdiff
path: root/voctocore/lib/audiomix.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-06-16 16:59:04 +0200
committerMaZderMind <github@mazdermind.de>2015-06-16 16:59:04 +0200
commitc69b7397171e49221a42c0c49154d29722d38af0 (patch)
treea2dd956c6d9e4597be70a4bd792e7356f8387f17 /voctocore/lib/audiomix.py
parent8e2359d8ed6b17fc6cad99d617c889c754eb44c1 (diff)
Implement Stream-Blanker
Diffstat (limited to 'voctocore/lib/audiomix.py')
-rw-r--r--voctocore/lib/audiomix.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/voctocore/lib/audiomix.py b/voctocore/lib/audiomix.py
index c37d215..294155b 100644
--- a/voctocore/lib/audiomix.py
+++ b/voctocore/lib/audiomix.py
@@ -31,6 +31,11 @@ class AudioMix(object):
tee. ! queue ! interaudiosink channel=audio_mix_preview
"""
+ if Config.getboolean('stream-blanker', 'enabled'):
+ pipeline += """
+ tee. ! queue ! interaudiosink channel=audio_mix_streamblanker
+ """
+
for idx, name in enumerate(self.names):
pipeline += """
interaudiosrc channel=audio_{name}_mixer !