当 MIDI 目标或源更改时收到通知
Get notified when a MIDI destination or source changed
有什么方法可以在发现新的 MIDI destination/source 或现有的 MIDI 断开连接时得到通知?
谢谢。
也许 receivedMIDISetupChange() 符合您的要求?
在符合AKMIDIListener的class中,尝试:
func receivedMIDISetupChange() {
print("MIDI Setup Change, midi.inputNames: \(midi.inputNames)")
}
有什么方法可以在发现新的 MIDI destination/source 或现有的 MIDI 断开连接时得到通知?
谢谢。
也许 receivedMIDISetupChange() 符合您的要求?
在符合AKMIDIListener的class中,尝试:
func receivedMIDISetupChange() {
print("MIDI Setup Change, midi.inputNames: \(midi.inputNames)")
}