if (opt_modulation_envelope) 
if (opt_modulation_envelope && vp->sample->modes & MODES_ENVELOPE) 
void mix_voice(int32 *buf, int v, int32 c){	Voice *vp = voice + v;	sample_t *sp;#ifdef VOICE_LPF	static mix_t lp[AUDIO_BUFFER_SIZE];#else	mix_t *lp;#endif	if (vp->status == VOICE_DIE) {		if (c >= MAX_DIE_TIME)			c = MAX_DIE_TIME;		sp = resample_voice(v, &c);#ifdef VOICE_LPF		do_voice_filter(v, sp, lp, c);#else		lp = sp;#endif		if (c > 0)			ramp_out(lp, buf, v, c);		free_voice(v);	} else {		vp->delay_counter = c;		if (vp->delay) {			if (c < vp->delay) {				vp->delay -= c;				if (vp->tremolo_phase_increment)					update_tremolo(v);				if (opt_modulation_envelope)					update_modulation_envelope(v);				return;			}			if (play_mode->encoding & PE_MONO)				buf += vp->delay;			else				buf += vp->delay * 2;			c -= vp->delay;			vp->delay = 0;		}		sp = resample_voice(v, &c);#ifdef VOICE_LPF		do_voice_filter(v, sp, lp, c);#else		lp = sp;#endif		if (play_mode->encoding & PE_MONO) {			/* Mono output. */			if (vp->envelope_increment || vp->tremolo_phase_increment)				mix_mono_signal(lp, buf, v, c);			else				mix_mono(lp, buf, v, c);		} else {			if (vp->panned == PANNED_MYSTERY) {				if (vp->envelope_increment || vp->tremolo_phase_increment)					mix_mystery_signal(lp, buf, v, c);				else					mix_mystery(lp, buf, v, c);			} else if (vp->panned == PANNED_CENTER) {				if (vp->envelope_increment || vp->tremolo_phase_increment)					mix_center_signal(lp, buf, v, c);				else					mix_center(lp, buf, v, c);			} else {				/* It's either full left or full right. In either case,				 * every other sample is 0. Just get the offset right:				 */				if (vp->panned == PANNED_RIGHT)					buf++;				if (vp->envelope_increment || vp->tremolo_phase_increment)					mix_single_signal(lp, buf, v, c);				else					mix_single(lp, buf, v, c);			}		}	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/1816fbaa82c5fccf8842ce3ab6fd2490f1eddd41/mix.c/clean/timidity/mix.c