if(opt_reverb_control == 3 || opt_effect_quality >= 2) {
if(!(play_mode->encoding & PE_MONO) && opt_reverb_control == 3 || opt_effect_quality >= 2) {
void init_reverb(int32 output_rate){	sample_rate = output_rate;	memset(reverb_status.high_val, 0, sizeof(reverb_status.high_val));	if(opt_reverb_control == 3 || 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 = 0; tb = 0;		HPFL = 0; HPFR = 0;		LPFL = 0; LPFR = 0;		EPFL = 0; EPFR = 0;		spt0 = 0; spt1 = 0;		spt2 = 0; 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++;	}}