diff options
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r-- | include/adlmidi.h | 3 |
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); |