level = TIM_FSCALE(delay_status.level_ratio_c, 24); 
level = TIM_FSCALE(delay_status.level_ratio_c * MASTER_DELAY_LEVEL, 24); 
void do_basic_delay(int32* buf, int32 count){	register int32 i;	register int32 n = count;	int32 level,feedback,output,send_reverb;	level = TIM_FSCALE(delay_status.level_ratio_c, 24);	feedback = TIM_FSCALE(delay_status.feedback_ratio, 24);	send_reverb = TIM_FSCALE(delay_status.send_reverb_ratio * REV_INP_LEV, 24);	delay_spt0 = delay_wpt0 - delay_status.sample_c;	if(delay_spt0 < 0) {delay_spt0 += delay_rpt0;}	for(i=0;i<n;i++) {		delay_buf0_L[delay_wpt0] = delay_effect_buffer[i] + imuldiv24(delay_buf0_L[delay_spt0], feedback);		output = imuldiv24(delay_buf0_L[delay_spt0], level);		buf[i] += output;		effect_buffer[i] += imuldiv24(output, send_reverb);		delay_effect_buffer[i] = 0;		delay_buf0_R[delay_wpt0] = delay_effect_buffer[++i] + imuldiv24(delay_buf0_R[delay_spt0], feedback);		output = imuldiv24(delay_buf0_R[delay_spt0], level);		buf[i] += output;		effect_buffer[i] += imuldiv24(output, send_reverb);		delay_effect_buffer[i] = 0;		if(++delay_spt0 == delay_rpt0) {delay_spt0 = 0;}		if(++delay_wpt0 == delay_rpt0) {delay_wpt0 = 0;}	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/0e3784def1829ab465a906659129a80082008267/reverb.c/buggy/timidity/reverb.c