Skip to content

Commit

Permalink
Fix for garbled device name in debug output, closes #265
Browse files Browse the repository at this point in the history
Thanks @dcoredump
  • Loading branch information
dcoredump authored Jun 5, 2022
1 parent 60ab4a5 commit 0a5ec7d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/mididevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,6 @@ void CMIDIDevice::SendSystemExclusiveVoice(uint8_t nVoice, const unsigned nCable
{
uint8_t voicedump[163];

LOGDBG("Sending SysEx voice %u ",nVoice);

// Get voice sysex dump from TG
m_pSynthesizer->getSysExVoiceDump(voicedump, nTG);

Expand All @@ -471,7 +469,7 @@ void CMIDIDevice::SendSystemExclusiveVoice(uint8_t nVoice, const unsigned nCable
// send voice dump to all MIDI interfaces
for(Iterator = s_DeviceMap.begin(); Iterator != s_DeviceMap.end(); ++Iterator)
{
Iterator->second->Send (voicedump, sizeof(voicedump)*sizeof(uint8_t), nCable);
LOGNOTE("Send SYSEX voice dump to \"%s\"\n",Iterator->first);
Iterator->second->Send (voicedump, sizeof(voicedump)*sizeof(uint8_t));
LOGDBG("Send SYSEX voice dump %u to \"%s\"",nVoice,Iterator->first.c_str());
}
}

0 comments on commit 0a5ec7d

Please sign in to comment.