| Summary: | Native midi music disabled if timidity available | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Patrice Mandin <patmandin> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | 1.2.8 | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
Patrice Mandin
2007-10-27 04:52:36 UTC
Simple patch:
-- music.c (revision 3451)
+++ music.c (working copy)
@@ -459,6 +459,9 @@
#ifdef USE_NATIVE_MIDI
#ifdef USE_TIMIDITY_MIDI
native_midi_ok = !timidity_ok;
+ if (!native_midi_ok) {
+ native_midi_ok = (getenv("SDL_NATIVE_MUSIC") != NULL);
+ }
if ( native_midi_ok )
#endif
native_midi_ok = native_midi_detect();
Fixed, thanks! |