commit 27e75763a6d736453e803778288841a2b0ed7bd9 parent 1eba48d4d237521376097b3233ce7a299b4544ea Author: falkTX <falktx@falktx.com> Date: Sun, 19 Feb 2023 19:02:03 +0100 Ignore MIDI events sent to UI, print type of unknown ones Signed-off-by: falkTX <falktx@falktx.com> Diffstat:
M | distrho/src/DistrhoUILV2.cpp | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/distrho/src/DistrhoUILV2.cpp b/distrho/src/DistrhoUILV2.cpp @@ -214,9 +214,14 @@ public: fUI.stateChanged(key, value); } } + else if (atom->type == fURIDs.midiEvent) + { + // ignore + } else { - d_stdout("DPF :: received atom not handled"); + d_stdout("DPF :: received atom not handled :: %s", + fUridUnmap != nullptr ? fUridUnmap->unmap(fUridUnmap->handle, atom->type) : "(null)"); } } #endif