Skip to content

Fix Darwin MIDI port direction mapping - #166

Merged
mortenboye merged 3 commits into
masterfrom
fix-darwin-midi-port-direction-164
Jul 30, 2026
Merged

Fix Darwin MIDI port direction mapping#166
mortenboye merged 3 commits into
masterfrom
fix-darwin-midi-port-direction-164

Conversation

@mortenboye

Copy link
Copy Markdown
Contributor

Fixes #164.

Darwin now reports CoreMIDI destinations as inputPorts and CoreMIDI sources as outputPorts, matching the public device-owned port direction contract used by Android.

Also updates explicit port selection on Darwin so selected public ports still map back to the correct CoreMIDI source/destination internally.

@mortenboye
mortenboye merged commit 7cc1c04 into master Jul 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MidiDevice.inputPorts/outputPorts mean opposite directions on iOS vs Android

1 participant