Skip to content

IOS7: Integrate CoreMIDI into the iOS & tvOS backends#7266

Merged
larsamannen merged 1 commit intoscummvm:masterfrom
larsamannen:ls_ios_midi
Mar 1, 2026
Merged

IOS7: Integrate CoreMIDI into the iOS & tvOS backends#7266
larsamannen merged 1 commit intoscummvm:masterfrom
larsamannen:ls_ios_midi

Conversation

@larsamannen
Copy link
Contributor

Integrate the existing CoreMIDI implementation used in the MacOS backend into the iOS7 backend. The CoreMIDI framework is available from iOS 4.2 and tvOS 15.0.

This allows ScummVM to detect external MIDI devices connected to the device running ScummVM and to be selected as MIDI music output device.

The CoreMIDI framework is already added to the iOS7 backend in ports.mk since it inherits the frameworks from the MacOS backend.

This has been tested and verified with a Yamaha synth connected to an iPad over USB.
image

@larsamannen larsamannen requested a review from criezy February 26, 2026 19:46
@larsamannen larsamannen self-assigned this Feb 26, 2026
Copy link
Member

@criezy criezy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CoreMIDI framework is already added to the iOS7 backend in ports.mk since it inherits the frameworks from the MacOS backend.

I think you may still need to explicitly add it to the scummvm-static-ios target in ports.mk (as done explicitly for the macOS one just above). It is indeed added previously but only when building with fluidsynth.
(and as a result it could possibly be removed from OSX_STATIC_LIBS when building with fluidsynth, but having it twice doesn't hurt)

Integrate the existing CoreMIDI implementation used in the MacOS
backend into the iOS7 backend. The CoreMIDI framework is available
from iOS 4.2 and tvOS 15.0.

This allows ScummVM to detect external MIDI devices connected to
the device running ScummVM and to be selected as MIDI music output
device.
@larsamannen larsamannen merged commit b699159 into scummvm:master Mar 1, 2026
1 check passed
@larsamannen larsamannen deleted the ls_ios_midi branch March 1, 2026 14:52
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.

2 participants