From ef0484f67882ab52a537b554602017ec7974354f Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 24 Jun 2018 21:51:00 +0300 Subject: OPL3: Rename "touchReal" into "touchNote" --- src/adlmidi_opl3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/adlmidi_opl3.cpp') 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); } } -- cgit v1.2.3