aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2018-09-25 19:26:21 +0300
committerWohlstand <admin@wohlnet.ru>2018-09-25 19:26:21 +0300
commitbb0d23251324fadd49cbf53c1673b80ef07ffeff (patch)
tree57a9a9b754f40877add55bde772d06791f5727e1 /include/adlmidi.h
parent36f58b5c73766e4173b1cb04168909fdbcf9a5bf (diff)
parent923ea2f4d2c26248d518c9af7cafb938cd5ee9d6 (diff)
downloadlibADLMIDI-bb0d23251324fadd49cbf53c1673b80ef07ffeff.tar.gz
libADLMIDI-bb0d23251324fadd49cbf53c1673b80ef07ffeff.tar.bz2
libADLMIDI-bb0d23251324fadd49cbf53c1673b80ef07ffeff.zip
Merge branch 'master' into stable
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 6ae184e..eb3edf4 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -329,6 +329,7 @@ extern ADLMIDI_DECLSPEC int adl_loadEmbeddedBank(struct ADL_MIDIPlayer *device,
* If you want to specify custom number of four operator channels,
* please call this function after bank change (adl_setBank() or adl_openBank()),
* otherwise, value will be overwritten by auto-calculated.
+ * If the count is specified as -1, an auto-calculated amount is used instead.
*
* @param device Instance of the library
* @param ops4 Count of four-op channels to allocate between all emulating chips
@@ -361,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
@@ -368,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
@@ -415,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.