MIDIEVENT_LAYER(ntr->at, ME_NOTEOFF, p->ch, p->note, 0); 
MIDIEVENT(ntr->at, ME_NOTEOFF, p->ch, p->note, 0); 
static void ntr_wait_all_off(struct RCPNoteTracer *ntr){    while(ntr->notes)    {	int32 mingate;	struct NoteList *p, *q;	mingate = 256;	q = NULL;	p = ntr->notes;	while(p)	{	    struct NoteList *next;	    next = p->next;	    if(p->gate == 0)	    {		if(ctl->verbosity >= VERB_DEBUG_SILLY)		    ctl->cmsg(CMSG_INFO, VERB_DEBUG_SILLY,			      "NoteOff %d", p->note);		MIDIEVENT_LAYER(ntr->at, ME_NOTEOFF, p->ch, p->note, 0);		p->next = ntr->freelist;		ntr->freelist = p;	    }	    else	    {		if(mingate > p->gate)		    mingate = p->gate;		p->next = q;		q = p;	    }	    p = next;	}	ntr->notes = q;	for(p = ntr->notes; p != NULL; p = p->next)	    p->gate -= mingate;	ntr->at += mingate;    }}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/a8bbef53d53be7361bcc8743932fd7879d07f0af/rcp.c/buggy/timidity/rcp.c