aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-10 02:40:38 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-10 02:40:38 +0300
commit0b64e5b1982c4ce09b48c2ac927ace7505d7f3a7 (patch)
tree097bb11ce72aa692becd746b1a38108a082e2803 /include
parent3680c0ac9d38d6ea105e53d34a79e7cafaf2408b (diff)
downloadlibADLMIDI-0b64e5b1982c4ce09b48c2ac927ace7505d7f3a7.tar.gz
libADLMIDI-0b64e5b1982c4ce09b48c2ac927ace7505d7f3a7.tar.bz2
libADLMIDI-0b64e5b1982c4ce09b48c2ac927ace7505d7f3a7.zip
Ability to quit from Classic ADLMIDI under DOS by ESC key hit
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 8c5b7f4..c997f9b 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -215,6 +215,9 @@ extern double adl_tickEvents(ADL_MIDIPlayer *device, double seconds, double gran
/*Returns 1 if music position has reached end*/
extern int adl_atEnd(ADL_MIDIPlayer *device);
+/*Force Off all notes on all channels*/
+extern void adl_panic(ADL_MIDIPlayer *device);
+
/**Hooks**/
typedef void (*ADL_RawEventHook)(void *userdata, ADL_UInt8 type, ADL_UInt8 subtype, ADL_UInt8 channel, const ADL_UInt8 *data, size_t len);