From f44c36856ada538d32d7eda3128c8942a194f2d9 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 24 Dec 2017 01:59:23 +0300 Subject: Fixed an inability to use adlmidi.h in pure C programs --- include/adlmidi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/adlmidi.h') diff --git a/include/adlmidi.h b/include/adlmidi.h index 49dcbc0..29e2fab 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -222,7 +222,7 @@ extern void adl_panic(struct ADL_MIDIPlayer *device); extern void adl_rt_resetState(struct ADL_MIDIPlayer *device); /*Turn specific MIDI note ON*/ -extern bool adl_rt_noteOn(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_UInt8 note, ADL_UInt8 velocity); +extern int adl_rt_noteOn(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_UInt8 note, ADL_UInt8 velocity); /*Turn specific MIDI note OFF*/ extern void adl_rt_noteOff(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_UInt8 note); -- cgit v1.2.3