summaryrefslogtreecommitdiff
path: root/driver.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-10-06 17:57:18 +0000
committerbjarni <bjarni@openttd.org>2005-10-06 17:57:18 +0000
commit37af5bc4756bfdf4d0c2681a6f1dfca3e919b30c (patch)
tree93a3418c3b68be687ae2542cf2e28d14bd508be7 /driver.c
parent9666e753fb804e91f3c2e4b7304b86ca4c85cc5c (diff)
downloadopenttd-37af5bc4756bfdf4d0c2681a6f1dfca3e919b30c.tar.xz
(svn r3022) -feature: [OSX] OSX now uses quicktime to play midi files
this eliminates the long pauses between songs and the "leaving process hehind" bug (moebius_)
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 8484c743d..7f00a32a6 100644
--- a/driver.c
+++ b/driver.c
@@ -14,6 +14,7 @@
#include "music/null_m.h"
#include "music/os2_m.h"
#include "music/win32_m.h"
+#include "music/qtmidi.h"
#include "sound/null_s.h"
#include "sound/sdl_s.h"
@@ -51,6 +52,9 @@ static const DriverDesc _music_driver_descs[] = {
#ifdef WIN32
M("win32", "Win32 MIDI Driver", &_win32_music_driver),
#endif
+#ifdef __APPLE__
+ M("qt", "QuickTime MIDI Driver", &_qtime_music_driver),
+#endif
#ifdef UNIX
#if !defined(__MORPHOS__) && !defined(__AMIGA__)
M("extmidi", "External MIDI Driver", &_extmidi_music_driver),