Skip to content

Commit

Permalink
AndroidMidiAccess should distinguish MIDI1 and UMP ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Jul 15, 2024
1 parent d97116b commit c2c57f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class AndroidPortDetails(val device: MidiDeviceInfo, val portInfo: MidiDeviceInf
) : MidiPortDetails {
private val significantPortName = if (portInfo.name != "input" && portInfo.name != "output") portInfo.name else null
override val id: String
get() = "${this.name}_${portInfo.type}_${portInfo.portNumber}"
get() = "${this.name}_${portInfo.type}_${portInfo.portNumber}_$midiTransportProtocol"
override val manufacturer
get() = device.properties.getString(MidiDeviceInfo.PROPERTY_MANUFACTURER)
override val name: String?
Expand Down

0 comments on commit c2c57f4

Please sign in to comment.