diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-09-06 05:31:39 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-09-06 10:22:30 +0200 |
commit | 34ac11d4e79cef67596ad30dfa9df4f9586641aa (patch) | |
tree | e7a5ac0232ca797487cc5be4c953b8d2bc49ab73 /include | |
parent | 99722564db119bc38945236b0467f2cac9b8deaf (diff) | |
download | libADLMIDI-34ac11d4e79cef67596ad30dfa9df4f9586641aa.tar.gz libADLMIDI-34ac11d4e79cef67596ad30dfa9df4f9586641aa.tar.bz2 libADLMIDI-34ac11d4e79cef67596ad30dfa9df4f9586641aa.zip |
access into global chip settings
Diffstat (limited to 'include')
-rw-r--r-- | include/adlmidi.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h index e2bc035..eb3edf4 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -362,6 +362,13 @@ extern ADLMIDI_DECLSPEC void adl_setPercMode(struct ADL_MIDIPlayer *device, int extern ADLMIDI_DECLSPEC void adl_setHVibrato(struct ADL_MIDIPlayer *device, int hvibro); /** + * @brief Get the deep vibrato state. + * @param device Instance of the library + * @return deep vibrato state on success, <0 when any error has occurred + */ +extern ADLMIDI_DECLSPEC int adl_getHVibrato(struct ADL_MIDIPlayer *device); + +/** * @brief Override Enable(1) or Disable(0) deep tremolo state. -1 - use bank default tremolo state * @param device Instance of the library * @param htremo 0 - disabled, 1 - enabled @@ -369,6 +376,13 @@ extern ADLMIDI_DECLSPEC void adl_setHVibrato(struct ADL_MIDIPlayer *device, int extern ADLMIDI_DECLSPEC void adl_setHTremolo(struct ADL_MIDIPlayer *device, int htremo); /** + * @brief Get the deep tremolo state. + * @param device Instance of the library + * @return deep tremolo state on success, <0 when any error has occurred + */ +extern ADLMIDI_DECLSPEC int adl_getHTremolo(struct ADL_MIDIPlayer *device); + +/** * @brief Override Enable(1) or Disable(0) scaling of modulator volumes. -1 - use bank default scaling of modulator volumes * @param device Instance of the library * @param smod 0 - disabled, 1 - enabled @@ -416,6 +430,13 @@ extern ADLMIDI_DECLSPEC void adl_setLogarithmicVolumes(struct ADL_MIDIPlayer *de extern ADLMIDI_DECLSPEC void adl_setVolumeRangeModel(struct ADL_MIDIPlayer *device, int volumeModel); /** + * @brief Get the volume range model + * @param device Instance of the library + * @return volume model on success, <0 when any error has occurred + */ +extern ADLMIDI_DECLSPEC int adl_getVolumeRangeModel(struct ADL_MIDIPlayer *device); + +/** * @brief Load WOPL bank file from File System * * Is recommended to call adl_reset() to apply changes to already-loaded file player or real-time. |