memset(reverb_status.high_val, 0, sizeof(reverb_status.high_val)); 
/* clear delay-line of LPF */ reverb_status.lpf.last_freq = 0; calc_filter_iir1_lowpass(&(reverb_status.lpf)); 
void init_reverb(int32 output_rate){	sample_rate = output_rate;	memset(reverb_status.high_val, 0, sizeof(reverb_status.high_val));	/* Only initialize freeverb if stereo output */	/* Old non-freeverb must be initialized for mono reverb not to crash */	if (! (play_mode->encoding & PE_MONO)			&& (opt_reverb_control == 3 || opt_reverb_control == 4			|| opt_reverb_control < 0 && ! (opt_reverb_control & 0x100))			|| opt_effect_quality >= 2) {		alloc_revmodel();		update_revmodel(revmodel);		init_revmodel(revmodel);		memset(effect_buffer, 0, effect_bufsize);		memset(direct_buffer, 0, direct_bufsize);		REV_INP_LEV = fixedgain * revmodel->wet;	} else {		ta = tb = 0;		HPFL = HPFR = LPFL = LPFR = EPFL = EPFR = 0;		spt0 = spt1 = spt2 = spt3 = 0;		rev_memset(buf0_L);		rev_memset(buf0_R);		rev_memset(buf1_L);		rev_memset(buf1_R);		rev_memset(buf2_L);		rev_memset(buf2_R);		rev_memset(buf3_L);		rev_memset(buf3_R);		memset(effect_buffer, 0, effect_bufsize);		memset(direct_buffer, 0, direct_bufsize);		if (output_rate > 65000)			output_rate = 65000;		else if (output_rate < 4000)			output_rate = 4000;		def_rpt0 = rpt0 = REV_VAL0 * output_rate / 1000;		def_rpt1 = rpt1 = REV_VAL1 * output_rate / 1000;		def_rpt2 = rpt2 = REV_VAL2 * output_rate / 1000;		def_rpt3 = rpt3 = REV_VAL3 * output_rate / 1000;		REV_INP_LEV = 1.0;		rpt0 = def_rpt0 * reverb_status.time_ratio;		rpt1 = def_rpt1 * reverb_status.time_ratio;		rpt2 = def_rpt2 * reverb_status.time_ratio;		rpt3 = def_rpt3 * reverb_status.time_ratio;		while (! isprime(rpt0))			rpt0++;		while (! isprime(rpt1))			rpt1++;		while (! isprime(rpt2))			rpt2++;		while (! isprime(rpt3))			rpt3++;	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/ef525d28ea437fec3f4f86bd57a71d3712f68920/reverb.c/buggy/timidity/reverb.c