osx/cmMidiOsx.c : Updated device reporting format.

This commit is contained in:
kevin 2013-09-29 18:48:43 -07:00
parent 0f75ad445c
commit 35181582f6

View File

@ -152,7 +152,7 @@ void _cmMpDeviceFree( cmMpDev* drp )
void _cmMpDevicePrint( cmMpDev* drp, unsigned devIdx, cmRpt_t* rpt ) void _cmMpDevicePrint( cmMpDev* drp, unsigned devIdx, cmRpt_t* rpt )
{ {
unsigned i,j; unsigned i,j;
cmRptPrintf(rpt,"%i %s\n",devIdx,drp->nameStr); cmRptPrintf(rpt,"%i '%s'\n",devIdx,drp->nameStr);
for(j=0; j<2; ++j) for(j=0; j<2; ++j)
{ {
@ -161,7 +161,7 @@ void _cmMpDevicePrint( cmMpDev* drp, unsigned devIdx, cmRpt_t* rpt )
for(i=0; i<portCnt; ++i) for(i=0; i<portCnt; ++i)
{ {
const cmMpPort* p = j==0 ? drp->iPortArray + i : drp->oPortArray + i ; const cmMpPort* p = j==0 ? drp->iPortArray + i : drp->oPortArray + i ;
cmRptPrintf(rpt," port:%s %i id:0x:%x %s\n", p->inputFl ? "in " : "out",i, p->uid, p->nameStr ); cmRptPrintf(rpt," port:%s %i id:0x:%x '%s'\n", p->inputFl ? "in " : "out",i, p->uid, p->nameStr );
} }
} }
} }