Re: [Alsa-user] enumerate MIDI devices

2017-02-22 Thread Brian Sorahan
I think that's exactly what I needed! Thanks On Wed, Feb 22, 2017 at 1:04 PM, Clemens Ladisch wrote: > Brian Sorahan wrote: > > if card := C.snd_seq_client_info_get_card(cinfo); card >= 0 { > > device.ID = fmt.Sprintf("hw:%d", card) > > } > > > But if I prefer to use th

Re: [Alsa-user] enumerate MIDI devices

2017-02-22 Thread Clemens Ladisch
Brian Sorahan wrote: > if card := C.snd_seq_client_info_get_card(cinfo); card >= 0 { > device.ID = fmt.Sprintf("hw:%d", card) > } > But if I prefer to use the RawMIDI API to actually connect to the device That particular device might not be available as a RawMIDI port.