aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-24 21:46:38 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-24 21:46:38 +0300
commit60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5 (patch)
treecc26e12e08a485a8b928991936482fc0c77796f3 /include/adlmidi.h
parent76eb1a12ef6e6a3f8c7f6c0a226fc5b35dd99536 (diff)
downloadlibADLMIDI-60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5.tar.gz
libADLMIDI-60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5.tar.bz2
libADLMIDI-60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5.zip
[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
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h4
1 files changed, 2 insertions, 2 deletions
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);