diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-24 21:51:00 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-24 21:51:00 +0300 |
commit | ef0484f67882ab52a537b554602017ec7974354f (patch) | |
tree | 6f9c63405a465755890ecd81b279432039417bd2 /src/adlmidi_opl3.cpp | |
parent | 60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5 (diff) | |
download | libADLMIDI-ef0484f67882ab52a537b554602017ec7974354f.tar.gz libADLMIDI-ef0484f67882ab52a537b554602017ec7974354f.tar.bz2 libADLMIDI-ef0484f67882ab52a537b554602017ec7974354f.zip |
OPL3: Rename "touchReal" into "touchNote"
Diffstat (limited to 'src/adlmidi_opl3.cpp')
-rw-r--r-- | src/adlmidi_opl3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp index 2d2bc78..09a1b3e 100644 --- a/src/adlmidi_opl3.cpp +++ b/src/adlmidi_opl3.cpp @@ -233,7 +233,7 @@ void OPL3::noteOn(size_t c, double hertz) // Hertz range: 0..131071 } } -void OPL3::touchReal(uint32_t c, uint8_t volume, uint8_t brightness) +void OPL3::touchNote(uint32_t c, uint8_t volume, uint8_t brightness) { if(volume > 63) volume = 63; @@ -362,7 +362,7 @@ void OPL3::silenceAll() // Silence all OPL channels. for(size_t c = 0; c < m_numChannels; ++c) { noteOff(c); - touchReal(c, 0); + touchNote(c, 0); } } |