Interrupt / systemshock

Shockolate - A minimalist and cross platform System Shock source port.
GNU General Public License v3.0
801 stars 62 forks source link

Add native MIDI support for Mac OSX via Core MIDI API #395

Open HunterZ opened 1 year ago

HunterZ commented 1 year ago

A couple of years ago I contributed native MIDI support for Windows and Linux, but was not able to do so for Mac OSX because I lacked a workable development environment. This has been remedied, and I was able to implement and test Core MIDI support in an OSX Mojave VM talking to a real Roland SC-88 via a USB-MIDI interface.

As with Windows, support for this is automatically enabled in OSX builds because it's an OS-provided functionality.

File change notes:

MaddTheSane commented 1 year ago

You can see what I meant with my own pull request to your pull request: https://github.com/HunterZ/systemshock/pull/2

HunterZ commented 1 year ago

You can see what I meant with my own pull request to your pull request: HunterZ#2

Thanks. I don't know much about coremidi and was just going off of what examples I could find, so I'm happy to merge in your suggestions.