pedrolcl/drumstick

RT: Support for input sysex in Windows

Closed this issue · 4 comments

The Windows RT Input backend does not support sysex events.

raised by @santoxyz in SF

Please create your PR here at GitHub, against the devel branch, referencing this issue.

After merging #20 I've tested the functionality using:
1.- https://github.com/pedrolcl/dumpmidi-rt
2.- loopmidi : https://www.tobias-erichsen.de/software/loopmidi.html
3.- MIDI-OX to send sysex files: http://www.midiox.com/
Everything seems OK now.

I'm trying to work on fullduplex (also send out) sysexes.
I'm currently experiencing infinite loop receiving my own sent packet.. I need to debug the code but I have the following issue:

if I put this code into vpianomain.cpp I correctly read available input and outputs. I can debug and use breakpoints.
if I put the same code into my app (that uses bluetooth and QML.... but at this state nothing is initialized) I always obtain empty lists. BUT if I release my app and install it to the system, it's magically working OK!!!! (But I'm not able to step-by-step debug it)

Any clue? has vpiano project some special setting?

int main(int argc, char *argv[])
{

QApplication app(argc, argv);

BackendManager man;
QVariantMap settingsMap;
man.refresh(settingsMap);
QList<MIDIInput*> m_inputs = man.availableInputs();
QList<MIDIOutput*> m_outputs = man.availableOutputs(); 

I can't give any advice to you, having only the code that you posted as reference, that you say it works (it cannot be compiled as is, anyway) .

What I would need to see is a minimal reproducible example showing the problem.