|
@@ -152,7 +152,7 @@ void _cmMpDeviceFree( cmMpDev* drp )
|
152
|
152
|
void _cmMpDevicePrint( cmMpDev* drp, unsigned devIdx, cmRpt_t* rpt )
|
153
|
153
|
{
|
154
|
154
|
unsigned i,j;
|
155
|
|
- cmRptPrintf(rpt,"%i %s\n",devIdx,drp->nameStr);
|
|
155
|
+ cmRptPrintf(rpt,"%i '%s'\n",devIdx,drp->nameStr);
|
156
|
156
|
|
157
|
157
|
for(j=0; j<2; ++j)
|
158
|
158
|
{
|
|
@@ -161,7 +161,7 @@ void _cmMpDevicePrint( cmMpDev* drp, unsigned devIdx, cmRpt_t* rpt )
|
161
|
161
|
for(i=0; i<portCnt; ++i)
|
162
|
162
|
{
|
163
|
163
|
const cmMpPort* p = j==0 ? drp->iPortArray + i : drp->oPortArray + i ;
|
164
|
|
- cmRptPrintf(rpt," port:%s %i id:0x:%x %s\n", p->inputFl ? "in " : "out",i, p->uid, p->nameStr );
|
|
164
|
+ cmRptPrintf(rpt," port:%s %i id:0x:%x '%s'\n", p->inputFl ? "in " : "out",i, p->uid, p->nameStr );
|
165
|
165
|
}
|
166
|
166
|
}
|
167
|
167
|
}
|
|
@@ -714,7 +714,7 @@ cmMpRC_t cmMpDeviceSend( unsigned devIdx, unsigned portIdx, cmMidiByte_t status
|
714
|
714
|
mpl.packet[0].data[0] = status;
|
715
|
715
|
mpl.packet[0].data[1] = d0;
|
716
|
716
|
mpl.packet[0].data[2] = d1;
|
717
|
|
-
|
|
717
|
+
|
718
|
718
|
if(( err = MIDISend( _cmMpRoot.outPortRef, pp->epr, &mpl)) != noErr )
|
719
|
719
|
return _cmMpError(&_cmMpRoot.err,kSysErrMpRC,err,"Send on device:%i port:%i failed.",devIdx,portIdx);
|
720
|
720
|
|