From 0980abf45c275d2a46245e1b1d3da30e56975970 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Thu, 16 Jun 2022 20:56:35 +0300 Subject: Disable automatic arpeggio by default --- include/adlmidi.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/adlmidi.h') diff --git a/include/adlmidi.h b/include/adlmidi.h index af1102a..71a67c7 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -556,6 +556,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 -- cgit v1.2.3