cwMidiPort.cpp: Print out message in testCallback().
This commit is contained in:
parent
cb44d28430
commit
9d8d8ee051
@ -520,10 +520,14 @@ namespace cw
|
||||
|
||||
for(j=0; j<p->msgCnt; ++j)
|
||||
if( p->msgArray != NULL )
|
||||
{
|
||||
if( ((p->msgArray[j].status & 0xf0) == kNoteOnMdId) && (p->msgArray[j].d1>0))
|
||||
printf("%ld %ld 0x%x %i %i\n", p->msgArray[j].timeStamp.tv_sec, p->msgArray[j].timeStamp.tv_nsec, p->msgArray[j].status,p->msgArray[j].d0, p->msgArray[j].d1);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("0x%x ",p->sysExMsg[j]);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
} // device
|
||||
|
Loading…
Reference in New Issue
Block a user