Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tcommon.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//------------------------------------------------------------------------------
Toshihiro Shimizu 890ddd
void swapAndCopySamples(short *srcBuffer, short *dstBuffer, TINT32 sampleCount)
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
	short *srcSample = srcBuffer;
Toshihiro Shimizu 890ddd
	short *dstSample = dstBuffer;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	short *endSrcSample = srcSample + sampleCount;
Toshihiro Shimizu 890ddd
	while (srcSample < endSrcSample)
Toshihiro Shimizu 890ddd
		*dstSample++ = swapShort(*srcSample++);
Toshihiro Shimizu 890ddd
}