# print(self.conf)
audio_source = self.conf["audio"]["gstreamer"]["audio_source"]
if "pipewire" in audio_source:
- audio_config = PIPEWIRE_CONFIG
+ self.audio_config = PIPEWIRE_CONFIG
elif "jack" in audio_source:
- audio_config = JACK_CONFIG
+ self.audio_config = JACK_CONFIG
def write_conf(self, conf_dict, path):
filename, ext = os.path.splitext(path)
def audio_engine_start(self):
command = self.audio_config["engine"] + " " + self.audio_config["options"]
- thread = TeleCasterCommand(command)
- Thread.start()
-
- def audio_engine_start(self):
- command = self.audio_config["engine"] + " " + self.audio_config["options"]
- thread = TeleCasterCommand(command)
- Thread.start()
+ thread = TeleCasterThreadedCommand(command)
+ thread.start()
def audio_tools_start(self):
for tool in self.audio_config["tools"]: