pub type PortMidiDeviceId = c_int;