Browse Source

Ignore MIDI events sent to UI, print type of unknown ones

Signed-off-by: falkTX <falktx@falktx.com>
pull/417/head
falkTX 3 years ago
parent
commit
27e75763a6
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      distrho/src/DistrhoUILV2.cpp

+ 6
- 1
distrho/src/DistrhoUILV2.cpp View File

@@ -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


Loading…
Cancel
Save