def zynautoconnect(self, force=False): if force: zynautoconnect.midi_autoconnect(True) zynautoconnect.audio_autoconnect(True) else: self.zynautoconnect_midi_flag = True self.zynautoconnect_audio_flag = True
def zynautoconnect_do(self): if self.zynautoconnect_midi_flag: self.zynautoconnect_midi_flag = False zynautoconnect.midi_autoconnect(True) if self.zynautoconnect_audio_flag: self.zynautoconnect_audio_flag = False zynautoconnect.audio_autoconnect(True)
def zynautoconnect_audio(self, force=False): zynautoconnect.audio_autoconnect(force)