rem: nextsampl = nextsampr = 0;
context: mixSDL_ResampleUp_fast (mixSDL_Convertion *conv){	mixSDL_ConvFlags flags = conv->flags;	uint8 *src = conv->srcdata;	uint8 *dst = conv->dstdata;	uint32 srcbpc = conv->srcbpc;	uint32 dstbpc = conv->dstbpc;	uint32 convrate = conv->dstfreq / conv->srcfreq;	sint32 nextsampl, nextsampr;	bool stereo = conv->srcchans == 2 && !(flags & mixConvStereoDown);	uint32 i;		/* read one sample ahead */	nextsampl = mixSDL_GetConvSample (&src, srcbpc, flags);	if (stereo)		nextsampr = mixSDL_GetConvSample (&src, srcbpc, flags);	else		nextsampr = 0;	for (i = conv->srcsamples; i; i--)	{		sint32 sampl = nextsampl;		sint32 sampr = nextsampr;		sint32 di;				if (i > 1)		{			nextsampl = mixSDL_GetConvSample (&src, srcbpc, flags);			if (stereo)				nextsampr = mixSDL_GetConvSample (&src, srcbpc, flags);		}		else		{			nextsampl = nextsampr = 0;		}				for (di = convrate; di > 0; di--)		{			mixSDL_PutConvSample (&dst, dstbpc, flags, sampl);			sampl += (nextsampl - sampl) / di;			if (stereo)			{				mixSDL_PutConvSample (&dst, dstbpc, flags, sampr);				sampr += (nextsampr - sampr) / di;			}		}	}}