tahoma2d/toonz/sources/sound/tsioutils.cpp
Campbell Barton 8c6c57f1b4 Enable missing-declarations warning (#643)
Finish ensuring symbols use headers correctly
2016-07-22 13:38:33 +09:00

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++);
}