aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-27 18:45:02 -0800
committerChris Robinson <[email protected]>2013-11-27 18:45:02 -0800
commit5554b8cfc93db026812dafa695d5f7a3450a40a7 (patch)
tree3b07aa61c5f2210a80f0bc4d0207df7c190b3610 /OpenAL32/Include
parent3a1613253b4e68d67165279be3b0912010b7c104 (diff)
Add a MidiSynth interface for devices
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h3
-rw-r--r--OpenAL32/Include/alMidi.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 09a21964..2fad113d 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -387,6 +387,9 @@ struct ALCdevice_struct
// Map of Filters for this device
UIntMap FilterMap;
+ /* MIDI synth engine */
+ struct MidiSynth *Synth;
+
/* HRTF filter tables */
const struct Hrtf *Hrtf;
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index b6504706..1e5c09b5 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -57,6 +57,8 @@ static const struct MidiSynthVtable T##_MidiSynth_vtable = { \
}
+MidiSynth *SynthCreate(ALCdevice *device);
+
#ifdef __cplusplus
}
#endif