Function portmidi::count_devices [] [src]

pub fn count_devices() -> PortMidiDeviceId

Return the number of devices. This number will not change during the lifetime of the program.