| Summary: | make native_midi_osx to use AUGraphAddNode() on 10.5 | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Ozkan Sezer <sezeroz> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 1.2.12 | ||
| Hardware: | All | ||
| OS: | Mac OS X 10.5 (Intel) | ||
| Attachments: |
AudioComponentDescription patch
MusicSequenceLoadSMFData patch |
||
On a somewhat related note, MusicSequenceLoadSMFData() can be enabled for ppc builds for 10.4 and lower in order to enable functionality back to 10.2. A patch is attached (MusicSequenceLoadSMFData.diff). Created attachment 923 [details]
MusicSequenceLoadSMFData patch
|
Created attachment 921 [details] AudioComponentDescription patch Current native_midi_osx uses AUGraphAddNode() only on 10.6 because of struct AudioComponentDescription being a 10.6 SDK thing. However, AudioComponentDescription is actually the same as struct ComponentDescription with 20 bytes of size and the same offsets of all members, therefore, is binary compatible. So, defining AudioComponentDescription as ComponentDescription when compiling against 10.5 SDK does the trick. A patch is attached.