cwIoMidiRecordPlay.cpp: Print the velocity table when it is applied.
This commit is contained in:
parent
453da9a6df
commit
5913cfe8e1
@ -197,7 +197,6 @@ namespace cw
|
|||||||
mem::release(p->midiDevA);
|
mem::release(p->midiDevA);
|
||||||
mem::release(p->msgArray);
|
mem::release(p->msgArray);
|
||||||
mem::release(p->iMsgArray);
|
mem::release(p->iMsgArray);
|
||||||
printf("P:%p\n",p);
|
|
||||||
mem::release(p);
|
mem::release(p);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
@ -2207,8 +2206,14 @@ cw::rc_t cw::midi_record_play::vel_table_set( handle_t h, unsigned devIdx, const
|
|||||||
dev->velTableN = tblN;
|
dev->velTableN = tblN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("Apply Vel Table to %s : ", cwStringNullGuard(p->midiDevA[devIdx].label));
|
||||||
|
|
||||||
for(unsigned i=0; i<tblN; ++i)
|
for(unsigned i=0; i<tblN; ++i)
|
||||||
|
{
|
||||||
dev->velTableArray[i] = tbl[i];
|
dev->velTableArray[i] = tbl[i];
|
||||||
|
printf("%i->%i ",i,tbl[i]);
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
return kOkRC;
|
return kOkRC;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user