Do not process further for TGs

feature/midi-cc07-master-volume
probonopd 2 weeks ago committed by GitHub
parent c99e8249e9
commit 5c81b629a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/mididevice.cpp

@ -284,7 +284,7 @@ void CMIDIDevice::MIDIMessageHandler (const u8 *pMessage, size_t nLength, unsign
float fMasterVolume = (float)pMessage[2] / 127.0f;
m_pSynthesizer->setMasterVolume(fMasterVolume);
LOGNOTE("MIDI CC07 (Volume) on PCCH: Set Master Volume to %d (%.3f)", pMessage[2], fMasterVolume);
break; // Do not process further for TGs
return; // Do not process further for TGs
}
else
{

Loading…
Cancel
Save