cwMidiAlsa.cpp : Added TODO comments.
This commit is contained in:
parent
c94556d4a1
commit
c1a0e7708b
@ -134,12 +134,18 @@ namespace cw
|
|||||||
|
|
||||||
// if no input
|
// if no input
|
||||||
if( rc == -EAGAIN )
|
if( rc == -EAGAIN )
|
||||||
|
{
|
||||||
|
// TODO: report or at least count error
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// if input buffer overrun
|
// if input buffer overrun
|
||||||
if( rc == -ENOSPC )
|
if( rc == -ENOSPC )
|
||||||
|
{
|
||||||
|
// TODO: report or at least count error
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// get the device this event arrived from
|
// get the device this event arrived from
|
||||||
if( p->prvRcvDev==NULL || p->prvRcvDev->clientId != ev->source.client )
|
if( p->prvRcvDev==NULL || p->prvRcvDev->clientId != ev->source.client )
|
||||||
p->prvRcvDev = _cmMpClientIdToDev(p,ev->source.client);
|
p->prvRcvDev = _cmMpClientIdToDev(p,ev->source.client);
|
||||||
@ -150,7 +156,7 @@ namespace cw
|
|||||||
|
|
||||||
if( p->prvRcvDev == NULL || p->prvRcvPort == NULL )
|
if( p->prvRcvDev == NULL || p->prvRcvPort == NULL )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
//printf("%i %x\n",ev->type,ev->type);
|
//printf("%i %x\n",ev->type,ev->type);
|
||||||
//printf("dev:%i port:%i ch:%i %i\n",ev->source.client,ev->source.port,ev->data.note.channel,ev->data.note.note);
|
//printf("dev:%i port:%i ch:%i %i\n",ev->source.client,ev->source.port,ev->data.note.channel,ev->data.note.note);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user