aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2016-10-22 21:51:54 +0300
committerWohlstand <admin@wohlnet.ru>2016-10-22 21:51:54 +0300
commit419d96edc3008ccc0fadbddb1b6b426f713229d3 (patch)
tree5e5be2630600bc9bb66be8a0eaa03f960d3aacdf /src/adlmidi.h
parent6c2530ad03bb1d9cbdf85a87bf25bb12cc464050 (diff)
downloadlibADLMIDI-419d96edc3008ccc0fadbddb1b6b426f713229d3.tar.gz
libADLMIDI-419d96edc3008ccc0fadbddb1b6b426f713229d3.tar.bz2
libADLMIDI-419d96edc3008ccc0fadbddb1b6b426f713229d3.zip
Apply latest update of ADLMIDI
- Added support of playing CMF files
Diffstat (limited to 'src/adlmidi.h')
-rw-r--r--src/adlmidi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/adlmidi.h b/src/adlmidi.h
index 23dd65c..c9aaa3e 100644
--- a/src/adlmidi.h
+++ b/src/adlmidi.h
@@ -35,6 +35,7 @@ struct ADL_MIDIPlayer {
unsigned int HighTremoloMode;
unsigned int HighVibratoMode;
unsigned int AdlPercussionMode;
+ unsigned int LogarithmicVolumes;
unsigned int QuitFlag;
unsigned int SkipForward;
unsigned int QuitWithoutLooping;
@@ -66,6 +67,9 @@ extern int adl_setBank(struct ADL_MIDIPlayer* device, int bank);
/* Returns total number of available banks */
extern int adl_getBanksCount();
+/* Returns pointer to array of names of every bank */
+extern const char * const* adl_getBankNames();
+
/*Sets number of 4-chan operators*/
extern int adl_setNumFourOpsChn(struct ADL_MIDIPlayer*device, int ops4);
@@ -84,6 +88,9 @@ extern void adl_setScaleModulators(struct ADL_MIDIPlayer* device, int smod);
/*Enable or disable built-in loop (built-in loop supports 'loopStart' and 'loopEnd' tags to loop specific part)*/
extern void adl_setLoopEnabled(struct ADL_MIDIPlayer* device, int loopEn);
+/*Enable or disable Logariphmic volume changer */
+extern void adl_setLogarithmicVolumes(struct ADL_MIDIPlayer* device, int logvol);
+
/*Returns string which contains last error message*/
extern const char* adl_errorString();