aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristopher Snowhill <kode54@gmail.com>2018-07-29 20:52:26 -0700
committerChristopher Snowhill <kode54@gmail.com>2018-07-29 20:52:26 -0700
commit0f69d504792776967b61f8987ad458c48b4a322f (patch)
tree0884f6008b6433b3f25d454884d8c9f6b9f7fac1 /include
parentb5a38c540d5a2b5b6750a49eb25ca3c7388b099c (diff)
downloadlibADLMIDI-0f69d504792776967b61f8987ad458c48b4a322f.tar.gz
libADLMIDI-0f69d504792776967b61f8987ad458c48b4a322f.tar.bz2
libADLMIDI-0f69d504792776967b61f8987ad458c48b4a322f.zip
Implemented optional soft panning support for the included chip emulators, disabled 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 77fbe74..aa6aa52 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -365,6 +365,13 @@ extern void adl_setFullRangeBrightness(struct ADL_MIDIPlayer *device, int fr_bri
extern void adl_setLoopEnabled(struct ADL_MIDIPlayer *device, int loopEn);
/**
+ * @brief Enable or disable soft panning with chip emulators
+ * @param device Instance of the library
+ * @param softPanEn 0 - disabled, 1 - enabled
+ */
+extern void adl_setSoftPanEnabled(struct ADL_MIDIPlayer *device, int softPanEn);
+
+/**
* @brief [DEPRECATED] Enable or disable Logarithmic volume changer
*
* This function is deprecated. Suggested replacement: `adl_setVolumeRangeModel` with `ADLMIDI_VolumeModel_NativeOPL3` volume model value;