if (opt_pan_delay && channel[ch].insertion_effect == 0) { 
if (opt_pan_delay && channel[ch].insertion_effect == 0 && !opt_surround_chorus) { 
static void init_voice_pan_delay(int v){#ifdef ENABLE_PAN_DELAY	Voice *vp = &(voice[v]);	int ch = vp->channel;	double pan_delay_diff; 	if (vp->pan_delay_buf != NULL) {		free(vp->pan_delay_buf);		vp->pan_delay_buf = NULL;	}	vp->pan_delay_rpt = 0;	if (opt_pan_delay && channel[ch].insertion_effect == 0) {		if (vp->panning == 64) {vp->delay += pan_delay_table[64] * play_mode->rate / 1000;}		else {			if(pan_delay_table[vp->panning] > pan_delay_table[127 - vp->panning]) {				pan_delay_diff = pan_delay_table[vp->panning] - pan_delay_table[127 - vp->panning];				vp->delay += (pan_delay_table[vp->panning] - pan_delay_diff) * play_mode->rate / 1000;			} else {				pan_delay_diff = pan_delay_table[127 - vp->panning] - pan_delay_table[vp->panning];				vp->delay += (pan_delay_table[127 - vp->panning] - pan_delay_diff) * play_mode->rate / 1000;			}			vp->pan_delay_rpt = pan_delay_diff * play_mode->rate / 1000;		}		if(vp->pan_delay_rpt < 1) {vp->pan_delay_rpt = 0;}		vp->pan_delay_wpt = 0;		vp->pan_delay_spt = vp->pan_delay_wpt - vp->pan_delay_rpt;		if (vp->pan_delay_spt < 0) {vp->pan_delay_spt += PAN_DELAY_BUF_MAX;}		vp->pan_delay_buf = (int32 *)safe_malloc(sizeof(int32) * PAN_DELAY_BUF_MAX);		memset(vp->pan_delay_buf, 0, sizeof(int32) * PAN_DELAY_BUF_MAX);	}#endif	/* ENABLE_PAN_DELAY */}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/5fbf28bafe01f019bb1dc9c83c2a7eb72022740f/playmidi.c/clean/timidity/playmidi.c