aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-24 22:03:56 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-24 22:03:56 +0300
commitc6b09c426f660996835d7e649e4e367a78ea9d9c (patch)
tree12e760c7867e5668b4afcd417972a6defb69bdca /src/adlmidi_private.hpp
parentef0484f67882ab52a537b554602017ec7974354f (diff)
downloadlibADLMIDI-c6b09c426f660996835d7e649e4e367a78ea9d9c.tar.gz
libADLMIDI-c6b09c426f660996835d7e649e4e367a78ea9d9c.tar.bz2
libADLMIDI-c6b09c426f660996835d7e649e4e367a78ea9d9c.zip
OPL3: Rename `m_pit` into `m_keyBlockFNumCache`
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r--src/adlmidi_private.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index 066eef7..07b55af 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -232,9 +232,11 @@ public:
private:
//! Cached patch data, needed by Touch()
- std::vector<adldata> m_ins;
- //! Value poked to B0, cached, needed by NoteOff)
- std::vector<uint8_t> m_pit;
+ std::vector<adldata> m_insCache;
+ //! Value written to B0, cached, needed by NoteOff.
+ /*! Contains Key on/off state, octave block and frequency number values
+ */
+ std::vector<uint8_t> m_keyBlockFNumCache;
//! Cached BD registry value (flags register: DeepTremolo, DeepVibrato, and RhythmMode)
std::vector<uint8_t> m_regBD;