aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-28 04:52:53 -0800
committerChris Robinson <[email protected]>2013-11-28 04:52:53 -0800
commitf8c68291d3b0ebbfa710c95a28b042393fb4b7d6 (patch)
treea13f3957a57d3f543239318a59d0b9b696c0ef18 /Alc/ALc.c
parent29a4ac329a8d6f8c4432217e1e1f3e55cbf146fe (diff)
Add a method to stop MIDI playback
Unlike pausing, this resets the MIDI clock time to 0, clears the existing event queue, stops all MIDI sounds, and resets MIDI controllers.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 91c365dc..38da53c7 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -284,6 +284,7 @@ static const ALCfunction alcFunctions[] = {
DECL(alMidiEventSOFT),
DECL(alMidiPlaySOFT),
DECL(alMidiPauseSOFT),
+ DECL(alMidiStopSOFT),
DECL(alGetInteger64SOFT),
DECL(alGetInteger64vSOFT),