Skip to main content

port_label

Function port_label 

Source
pub fn port_label(name: &str) -> String
Expand description

A port’s name as Oscyl spells it on every platform. Windows’ class driver names a device’s later ports “MIDIIN2 (minilogue xd)” and “MIDIOUT2 (minilogue xd)”; both become “minilogue xd _ MIDI 2”, the name such a port gets on Android (the mobile app’s midiPortName), so the input and output pair up and the drivers’ hints match.