aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/mididrv.cpp4
-rw-r--r--sound/mididrv.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp
index 09a72366f6..aa1f4bf2af 100644
--- a/sound/mididrv.cpp
+++ b/sound/mididrv.cpp
@@ -48,6 +48,7 @@ static const MidiDriverDescription s_musicDrivers[] = {
#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOSX) && !defined(__MAEMO__)
{"seq", "SEQ", MD_SEQ, MDT_MIDI},
+ {"dmedia", "DMedia", MD_DMEDIA, MDT_MIDI},
#endif
#if defined(MACOSX)
@@ -247,6 +248,9 @@ MidiDriver *MidiDriver::createMidi(int midiDriver) {
#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOSX) && !defined(__MAEMO__)
case MD_SEQ: return MidiDriver_SEQ_create();
#endif
+#if defined(IRIX)
+ case MD_DMEDIA: return MidiDriver_DMEDIA_create();
+#endif
#if defined(MACOSX)
case MD_QTMUSIC: return MidiDriver_QT_create();
case MD_COREAUDIO: return MidiDriver_CORE_create();
diff --git a/sound/mididrv.h b/sound/mididrv.h
index 120b931170..6a18b441cc 100644
--- a/sound/mididrv.h
+++ b/sound/mididrv.h
@@ -67,6 +67,9 @@ enum MidiDriverType {
// MorphOS
MD_ETUDE,
+ // IRIX
+ MD_DMEDIA,
+
// MIDI softsynths
MD_FLUIDSYNTH,
MD_MT32,
@@ -273,6 +276,7 @@ extern MidiDriver *MidiDriver_CORE_create();
extern MidiDriver *MidiDriver_CoreMIDI_create();
extern MidiDriver *MidiDriver_ETUDE_create();
extern MidiDriver *MidiDriver_ALSA_create();
+extern MidiDriver *MidiDriver_DMEDIA_create();
extern MidiDriver *MidiDriver_YM2612_create(Audio::Mixer *mixer);
#ifdef USE_FLUIDSYNTH
extern MidiDriver *MidiDriver_FluidSynth_create(Audio::Mixer *mixer);