diff options
author | Max Horn | 2004-12-14 01:02:55 +0000 |
---|---|---|
committer | Max Horn | 2004-12-14 01:02:55 +0000 |
commit | 59b6a078266ee27d20315899e1b0cf650f01ecef (patch) | |
tree | f9827375acb7f7652ecf25a4df2d9964cb1a7b55 /sound | |
parent | a6479b070d721b3ad154c0ec0fb9df5383e00b5e (diff) | |
download | scummvm-rg350-59b6a078266ee27d20315899e1b0cf650f01ecef.tar.gz scummvm-rg350-59b6a078266ee27d20315899e1b0cf650f01ecef.tar.bz2 scummvm-rg350-59b6a078266ee27d20315899e1b0cf650f01ecef.zip |
Evil workaround for bug #1083058
svn-id: r16045
Diffstat (limited to 'sound')
-rw-r--r-- | sound/mididrv.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index 11fa0d3b15..9872cf65d0 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -137,54 +137,3 @@ int MidiDriver::detectMusicDriver(int midiFlags) { return musicDriver; } - -MidiDriver *MidiDriver::createMidi(int midiDriver) { - switch(midiDriver) { - case MD_NULL: return MidiDriver_NULL_create(); - - // In the case of Adlib, we won't specify anything. - // IMuse is designed to set up its own Adlib driver - // if need be, and we only have to specify a native - // driver. - case MD_ADLIB: return NULL; - -#ifdef USE_MT32EMU - case MD_MT32: return MidiDriver_MT32_create(g_engine->_mixer); -#endif - - case MD_TOWNS: return MidiDriver_YM2612_create(g_engine->_mixer); - - // Right now PC Speaker and PCjr are handled - // outside the MidiDriver architecture, so - // don't create anything for now. - case MD_PCSPK: - case MD_PCJR: return NULL; -#if defined(__PALM_OS__) - case MD_YPA1: return MidiDriver_YamahaPa1_create(); -#ifndef DISABLE_TAPWAVE - case MD_ZODIAC: return MidiDriver_Zodiac_create(); -#endif -#endif -#if defined(WIN32) && !defined(_WIN32_WCE) - case MD_WINDOWS: return MidiDriver_WIN_create(); -#endif -#if defined(__MORPHOS__) - case MD_ETUDE: return MidiDriver_ETUDE_create(); -#endif -#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOSX) - case MD_SEQ: return MidiDriver_SEQ_create(); -#endif -#if (defined(MACOSX) || defined(macintosh)) && !defined(__PALM_OS__) - case MD_QTMUSIC: return MidiDriver_QT_create(); -#endif -#if defined(MACOSX) - case MD_COREAUDIO: return MidiDriver_CORE_create(); -#endif -#if defined(UNIX) && defined(USE_ALSA) - case MD_ALSA: return MidiDriver_ALSA_create(); -#endif - } - - error("Invalid midi driver selected"); - return NULL; -} |