diff options
author | Chris Robinson <[email protected]> | 2014-01-12 12:27:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-01-12 12:27:46 -0800 |
commit | a5bfc1e30b333d0767138d9a42033cabd2dd71c5 (patch) | |
tree | 976ab08c54cc532faff4539676e78d81c1623214 /Alc/midi/base.c | |
parent | 9a57aca8d4ff8784e0bccf4f38a856f301c38050 (diff) |
Add a method to get the current MIDI state
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r-- | Alc/midi/base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c index 0a88c909..cfeda001 100644 --- a/Alc/midi/base.c +++ b/Alc/midi/base.c @@ -189,6 +189,7 @@ ALenum MidiSynth_selectSoundfonts(MidiSynth *self, ALCcontext *context, ALsizei extern inline void MidiSynth_setGain(MidiSynth *self, ALfloat gain); extern inline ALfloat MidiSynth_getGain(const MidiSynth *self); extern inline void MidiSynth_setState(MidiSynth *self, ALenum state); +extern inline ALenum MidiSynth_getState(const MidiSynth *self); void MidiSynth_stop(MidiSynth *self) { |