aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2021-01-24 21:40:00 +0300
committerWohlstand <admin@wohlnet.ru>2021-01-24 21:40:00 +0300
commitc375ab993e3eb4c04e5407580c03891d3c30baf8 (patch)
tree66e4e92b1c4ea5cdc3aea2e48fe1df840b5258a1 /include
parent831964b94a4c5abcf4e4e3c223bdbb2e02bbcfca (diff)
downloadlibADLMIDI-c375ab993e3eb4c04e5407580c03891d3c30baf8.tar.gz
libADLMIDI-c375ab993e3eb4c04e5407580c03891d3c30baf8.tar.bz2
libADLMIDI-c375ab993e3eb4c04e5407580c03891d3c30baf8.zip
Added an ability to disable auto-arpeggio
Backported from libOPNMIDI
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 86a5715..2b68509 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -30,7 +30,7 @@ extern "C" {
#define ADLMIDI_VERSION_MAJOR 1
#define ADLMIDI_VERSION_MINOR 5
-#define ADLMIDI_VERSION_PATCHLEVEL 0
+#define ADLMIDI_VERSION_PATCHLEVEL 1
#define ADLMIDI_TOSTR_I(s) #s
#define ADLMIDI_TOSTR(s) ADLMIDI_TOSTR_I(s)
@@ -549,6 +549,14 @@ extern ADLMIDI_DECLSPEC void adl_setScaleModulators(struct ADL_MIDIPlayer *devic
extern ADLMIDI_DECLSPEC void adl_setFullRangeBrightness(struct ADL_MIDIPlayer *device, int fr_brightness);
/**
+ * @brief Enable(1) or Disable(0) the automatical arpeggio system
+ *
+ * @param device Instance of the library
+ * @param aaEn 0 - disabled, 1 - enabled
+ */
+extern ADLMIDI_DECLSPEC void adl_setAutoArpeggio(struct ADL_MIDIPlayer *device, int aaEn);
+
+/**
* @brief Enable or disable built-in loop (built-in loop supports 'loopStart' and 'loopEnd' tags to loop specific part)
* @param device Instance of the library
* @param loopEn 0 - disabled, 1 - enabled