Fixed bug in cmDspSys.c cmDspSysRcvMsg() where the value.flags field in the MIDI packet broadcast message was not initialized.
This commit is contained in:
parent
dbd448177c
commit
468b5d54bc
@ -732,6 +732,10 @@ cmDspRC_t cmDspSysRcvMsg( cmDspSysH_t h, cmAudioSysCtx_t* asCtx, const void*
|
|||||||
pkt.msgArray = (cmMidiMsg*)(hdr + 5);
|
pkt.msgArray = (cmMidiMsg*)(hdr + 5);
|
||||||
unsigned midiSymId = cmDspSysRegisterStaticSymbol(h,"_midi");
|
unsigned midiSymId = cmDspSysRegisterStaticSymbol(h,"_midi");
|
||||||
|
|
||||||
|
// HACK:
|
||||||
|
v.flags = kMtxDsvFl; // The value is not really a matrix but only _cmDspMidiInRecvFunc()
|
||||||
|
// ever needs to decode value and it does not look at the value type flags.
|
||||||
|
|
||||||
v.u.m.u.vp = &pkt;
|
v.u.m.u.vp = &pkt;
|
||||||
cmDspSysBroadcastValue(h, midiSymId, &v);
|
cmDspSysBroadcastValue(h, midiSymId, &v);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user