aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2017-12-24 01:59:23 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2017-12-24 01:59:23 +0300
commitf44c36856ada538d32d7eda3128c8942a194f2d9 (patch)
tree6577a54bb02143f0399f770ddc8a9066dfa06b8a /include
parent32e3494acae1f9fdb335e1ce143cea347a0ebf64 (diff)
downloadlibADLMIDI-f44c36856ada538d32d7eda3128c8942a194f2d9.tar.gz
libADLMIDI-f44c36856ada538d32d7eda3128c8942a194f2d9.tar.bz2
libADLMIDI-f44c36856ada538d32d7eda3128c8942a194f2d9.zip
Fixed an inability to use adlmidi.h in pure C programs
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.h2
1 files changed, 1 insertions, 1 deletions
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);