summaryrefslogtreecommitdiff
path: root/voctocore/lib/audiomix.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/audiomix.py')
-rw-r--r--voctocore/lib/audiomix.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/voctocore/lib/audiomix.py b/voctocore/lib/audiomix.py
index 1be32d4..857600f 100644
--- a/voctocore/lib/audiomix.py
+++ b/voctocore/lib/audiomix.py
@@ -6,18 +6,12 @@ from enum import Enum
from lib.config import Config
class AudioMix(object):
- log = logging.getLogger('AudioMix')
-
- mixingPipeline = None
-
- caps = None
- names = []
+ def __init__(self):
+ self.log = logging.getLogger('AudioMix')
- selectedSource = 0
+ self.selectedSource = 0
- def __init__(self):
self.caps = Config.get('mix', 'audiocaps')
-
self.names = Config.getlist('mix', 'sources')
self.log.info('Configuring Mixer for %u Sources', len(self.names))