8c6c57f1b4
Finish ensuring symbols use headers correctly
15 lines
452 B
C++
15 lines
452 B
C++
|
|
|
|
#include "tcommon.h"
|
|
|
|
#include "tsioutils.h"
|
|
|
|
//------------------------------------------------------------------------------
|
|
void swapAndCopySamples(short *srcBuffer, short *dstBuffer,
|
|
TINT32 sampleCount) {
|
|
short *srcSample = srcBuffer;
|
|
short *dstSample = dstBuffer;
|
|
|
|
short *endSrcSample = srcSample + sampleCount;
|
|
while (srcSample < endSrcSample) *dstSample++ = swapShort(*srcSample++);
|
|
}
|