From 0a5ec7d5290910b1f2879b5afa891edb67065363 Mon Sep 17 00:00:00 2001 From: Holger Date: Sun, 5 Jun 2022 11:23:53 +0200 Subject: [PATCH] Fix for garbled device name in debug output, closes #265 Thanks @dcoredump --- src/mididevice.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mididevice.cpp b/src/mididevice.cpp index d96d089..4e15cf1 100644 --- a/src/mididevice.cpp +++ b/src/mididevice.cpp @@ -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); @@ -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()); } }