From 60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 24 Jun 2018 21:46:38 +0300 Subject: [Experimental] Big re-factoring of internals and clean-up - Renamed functions - Renamed variables - Documenting of most library internal stuff - Disabling of embedded banks no more conflicts with accidental linking of adldata.cpp --- include/adlmidi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/adlmidi.h') diff --git a/include/adlmidi.h b/include/adlmidi.h index 8bb0bf1..9b7a6d9 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -97,7 +97,7 @@ struct ADL_MIDIPlayer #define adl_setNumCards adl_setNumChips /* Sets number of emulated chips (from 1 to 100). Emulation of multiple chips exchanges polyphony limits*/ -extern int adl_setNumChips(struct ADL_MIDIPlayer *device, int numCards); +extern int adl_setNumChips(struct ADL_MIDIPlayer *device, int numChips); /* Get current number of emulated chips */ extern int adl_getNumChips(struct ADL_MIDIPlayer *device); @@ -238,7 +238,7 @@ extern const char *adl_errorInfo(struct ADL_MIDIPlayer *device); extern struct ADL_MIDIPlayer *adl_init(long sample_rate); /*Set 4-bit device identifier*/ -extern int adl_setDeviceIdentifier(struct ADL_MIDIPlayer *device, unsigned id); +extern int adl_setDeviceIdentifier(struct ADL_MIDIPlayer *device, ADL_UInt8 id); /*Load MIDI file from File System*/ extern int adl_openFile(struct ADL_MIDIPlayer *device, const char *filePath); -- cgit v1.2.3