|
@@ -481,11 +481,12 @@ void _cmMpMidiSystemNotifyProc( const MIDINotification* notifyMsgPtr, void *refC
|
481
|
481
|
|
482
|
482
|
void _cmMpMIDISystemReadProc( const MIDIPacketList *pktListPtr, void* readProcRefCon, void* srcConnRefCon )
|
483
|
483
|
{
|
484
|
|
- cmMpRoot* rp = (cmMpRoot*)readProcRefCon;
|
|
484
|
+ //cmMpRoot* rp = (cmMpRoot*)readProcRefCon;
|
485
|
485
|
cmMpPort* pp = (cmMpPort*)srcConnRefCon;
|
486
|
486
|
unsigned i;
|
487
|
487
|
|
488
|
|
- if( pktListPtr == NULL || rp == NULL || pp == NULL || rp->cbFunc == NULL )
|
|
488
|
+
|
|
489
|
+ if( pktListPtr == NULL /*|| rp == NULL*/ || pp == NULL /*|| rp->cbFunc == NULL*/ )
|
489
|
490
|
return;
|
490
|
491
|
|
491
|
492
|
const MIDIPacket* packetPtr = &pktListPtr->packet[0];
|