int32 pan_delay_wpt = vp->pan_delay_wpt, *pan_delay_buf = vp->pan_delay_buf; 
int32 pan_delay_wpt = vp->pan_delay_wpt, *pan_delay_buf = vp->pan_delay_buf, pan_delay_spt = vp->pan_delay_spt; 
static inline void mix_mystery(mix_t *sp, int32 *lp, int v, int count){	final_volume_t left = voice[v].left_mix, right = voice[v].right_mix;	mix_t s;	int i;#ifdef SMOOTH_MIXING	Voice *vp = voice + v;	int32 linear_left, linear_right;#endif	int32 pan_delay_wpt = vp->pan_delay_wpt, *pan_delay_buf = vp->pan_delay_buf;#ifdef SMOOTH_MIXING	compute_mix_smoothing(vp);	linear_left = FROM_FINAL_VOLUME(left);	if (vp->left_mix_offset) {		linear_left += vp->left_mix_offset;		if (linear_left > MAX_AMP_VALUE) {			linear_left = MAX_AMP_VALUE;			vp->left_mix_offset = 0;		}		left = FINAL_VOLUME(linear_left);	}	linear_right = FROM_FINAL_VOLUME(right);	if (vp->right_mix_offset) {		linear_right += vp->right_mix_offset;		if (linear_right > MAX_AMP_VALUE) {			linear_right = MAX_AMP_VALUE;			vp->right_mix_offset = 0;		}		right = FINAL_VOLUME(linear_right);	}	if(vp->pan_delay_rpt == 0) {		for (i = 0; (vp->left_mix_offset | vp->right_mix_offset)				&& i < count; i++) {			s = *sp++;			MIXATION(left);			MIXATION(right);			if (vp->left_mix_offset) {				vp->left_mix_offset += vp->left_mix_inc;				linear_left += vp->left_mix_inc;				if (linear_left > MAX_AMP_VALUE) {					linear_left = MAX_AMP_VALUE;					vp->left_mix_offset = 0;				}				left = FINAL_VOLUME(linear_left);			}			if (vp->right_mix_offset) {				vp->right_mix_offset += vp->right_mix_inc;				linear_right += vp->right_mix_inc;				if (linear_right > MAX_AMP_VALUE) {					linear_right = MAX_AMP_VALUE;					vp->right_mix_offset = 0;				}				right = FINAL_VOLUME(linear_right);			}		}	} else if(vp->panning < 64) {		for (i = 0; (vp->left_mix_offset | vp->right_mix_offset)				&& i < count; i++) {			s = *sp++;			MIXATION(left);			DELAYED_MIXATION(right);			if (vp->left_mix_offset) {				vp->left_mix_offset += vp->left_mix_inc;				linear_left += vp->left_mix_inc;				if (linear_left > MAX_AMP_VALUE) {					linear_left = MAX_AMP_VALUE;					vp->left_mix_offset = 0;				}				left = FINAL_VOLUME(linear_left);			}			if (vp->right_mix_offset) {				vp->right_mix_offset += vp->right_mix_inc;				linear_right += vp->right_mix_inc;				if (linear_right > MAX_AMP_VALUE) {					linear_right = MAX_AMP_VALUE;					vp->right_mix_offset = 0;				}				right = FINAL_VOLUME(linear_right);			}		}	} else {		for (i = 0; (vp->left_mix_offset | vp->right_mix_offset)				&& i < count; i++) {			s = *sp++;			DELAYED_MIXATION(left);			MIXATION(right);			if (vp->left_mix_offset) {				vp->left_mix_offset += vp->left_mix_inc;				linear_left += vp->left_mix_inc;				if (linear_left > MAX_AMP_VALUE) {					linear_left = MAX_AMP_VALUE;					vp->left_mix_offset = 0;				}				left = FINAL_VOLUME(linear_left);			}			if (vp->right_mix_offset) {				vp->right_mix_offset += vp->right_mix_inc;				linear_right += vp->right_mix_inc;				if (linear_right > MAX_AMP_VALUE) {					linear_right = MAX_AMP_VALUE;					vp->right_mix_offset = 0;				}				right = FINAL_VOLUME(linear_right);			}		}	}	vp->old_left_mix = linear_left;	vp->old_right_mix = linear_right;	count -= i;#endif	if(vp->pan_delay_rpt == 0) {		for (i = 0; i < count; i++) {			s = *sp++;			MIXATION(left);			MIXATION(right);		}	} else if(vp->panning < 64) {		for (i = 0; i < count; i++) {			s = *sp++;			MIXATION(left);			DELAYED_MIXATION(right);		}	} else {		for (i = 0; i < count; i++) {			s = *sp++;			DELAYED_MIXATION(left);			MIXATION(right);		}	}	vp->pan_delay_wpt = pan_delay_wpt;}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/8891680d8c176ab2fdbe8ee1db175230b1c68aba/mix.c/clean/timidity/mix.c