diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-31 02:05:58 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-31 02:05:58 +0300 |
commit | 56c0cd7f2439898080df2e0a8129b72d2d85ca70 (patch) | |
tree | be843a7c9a7ca52457d110ba04e79dcc28f67b97 /include/adlmidi.h | |
parent | 30bd206493e8b2dae81e99cffb22266bd3029d3d (diff) | |
download | libADLMIDI-56c0cd7f2439898080df2e0a8129b72d2d85ca70.tar.gz libADLMIDI-56c0cd7f2439898080df2e0a8129b72d2d85ca70.tar.bz2 libADLMIDI-56c0cd7f2439898080df2e0a8129b72d2d85ca70.zip |
Small polishing of volume model and CMF/RSXX tempo
- Removed "Logarithmic volumes" flag as volume models concept successfuly serves this task. "Logarithmic volumes" flag is useless when we have volume models.
- Fixed "too fast" tempo while playing CMF and EA-MUS (aka RSXX) files
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r-- | include/adlmidi.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h index 56626bb..19dd6b2 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -30,7 +30,7 @@ extern "C" { #define ADLMIDI_VERSION_MAJOR 1 #define ADLMIDI_VERSION_MINOR 3 -#define ADLMIDI_VERSION_PATCHLEVEL 2 +#define ADLMIDI_VERSION_PATCHLEVEL 3 #define ADLMIDI_TOSTR_I(s) #s #define ADLMIDI_TOSTR(s) ADLMIDI_TOSTR_I(s) @@ -58,11 +58,12 @@ typedef short ADL_SInt16; enum ADLMIDI_VolumeModels { ADLMIDI_VolumeModel_AUTO = 0, - ADLMIDI_VolumeModel_Generic, - ADLMIDI_VolumeModel_CMF, - ADLMIDI_VolumeModel_DMX, - ADLMIDI_VolumeModel_APOGEE, - ADLMIDI_VolumeModel_9X + ADLMIDI_VolumeModel_Generic = 1, + ADLMIDI_VolumeModel_NativeOPL3 = 2, + ADLMIDI_VolumeModel_CMF = ADLMIDI_VolumeModel_NativeOPL3, + ADLMIDI_VolumeModel_DMX = 3, + ADLMIDI_VolumeModel_APOGEE = 4, + ADLMIDI_VolumeModel_9X = 5 }; enum ADLMIDI_SampleType @@ -141,7 +142,7 @@ extern void adl_setFullRangeBrightness(struct ADL_MIDIPlayer *device, int fr_bri /*Enable or disable built-in loop (built-in loop supports 'loopStart' and 'loopEnd' tags to loop specific part)*/ extern void adl_setLoopEnabled(struct ADL_MIDIPlayer *device, int loopEn); -/*Enable or disable Logariphmic volume changer */ +/* !!!DEPRECATED!!! Enable or disable Logariphmic volume changer */ extern void adl_setLogarithmicVolumes(struct ADL_MIDIPlayer *device, int logvol); /*Set different volume range model */ |