Пример #1
0
	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
Пример #2
0
	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)
Пример #3
0
 def zynautoconnect_audio(self, force=False):
     zynautoconnect.audio_autoconnect(force)