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 /src/adlmidi_opl3.cpp | |
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 'src/adlmidi_opl3.cpp')
-rw-r--r-- | src/adlmidi_opl3.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp index 279a7d5..143c911 100644 --- a/src/adlmidi_opl3.cpp +++ b/src/adlmidi_opl3.cpp @@ -165,8 +165,6 @@ OPL3::OPL3() : HighTremoloMode(false), HighVibratoMode(false), AdlPercussionMode(false), - LogarithmicVolumes(false), - //CartoonersVolumes(false), m_musicMode(MODE_MIDI), m_volumeScale(VOLUME_Generic) {} @@ -476,9 +474,8 @@ void OPL3::ChangeVolumeRangesModel(ADLMIDI_VolumeModels volumeModel) m_volumeScale = OPL3::VOLUME_Generic; break; - case ADLMIDI_VolumeModel_CMF: - LogarithmicVolumes = true; - m_volumeScale = OPL3::VOLUME_CMF; + case ADLMIDI_VolumeModel_NativeOPL3: + m_volumeScale = OPL3::VOLUME_NATIVE; break; case ADLMIDI_VolumeModel_DMX: |