aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2022-06-16 20:56:35 +0300
committerWohlstand <admin@wohlnet.ru>2022-06-16 20:56:35 +0300
commit0980abf45c275d2a46245e1b1d3da30e56975970 (patch)
tree998658e696992b99a46a0f191f99396fb63cf6a9 /include
parente3bab473baf2c28bf9e8731f2a1af2e1acb5bfb0 (diff)
downloadlibADLMIDI-0980abf45c275d2a46245e1b1d3da30e56975970.tar.gz
libADLMIDI-0980abf45c275d2a46245e1b1d3da30e56975970.tar.bz2
libADLMIDI-0980abf45c275d2a46245e1b1d3da30e56975970.zip
Disable automatic arpeggio by default
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index af1102a..71a67c7 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -557,6 +557,13 @@ extern ADLMIDI_DECLSPEC void adl_setFullRangeBrightness(struct ADL_MIDIPlayer *d
extern ADLMIDI_DECLSPEC void adl_setAutoArpeggio(struct ADL_MIDIPlayer *device, int aaEn);
/**
+ * @brief Get the state of the automatical arpeggio system enable state
+ * @param device Instalce of the library
+ * @return 0 - disabled, 1 - enabled
+ */
+extern ADLMIDI_DECLSPEC int adl_getAutoArpeggio(struct ADL_MIDIPlayer *device);
+
+/**
* @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