diff --git a/cwAudioFile.cpp b/cwAudioFile.cpp index a303524..2a408f2 100644 --- a/cwAudioFile.cpp +++ b/cwAudioFile.cpp @@ -1282,7 +1282,7 @@ namespace cw { rc_t rc = kOkRC; - // Determine the size of the temporary buffer used for deinterleaving, type conversion and file writing + // Determine the size of the temporary buffer used for interleaving, type conversion and file writing unsigned bufFrmCnt = std::min(srcBufFrmCnt,4096u); unsigned bufSmpCnt = bufFrmCnt*chCnt; @@ -1296,10 +1296,10 @@ namespace cw // copy as many samples as are available into the temp. buffer unsigned copyFrmN = std::min( bufFrmCnt, srcBufFrmCnt - sfi ); - // deinterleave the source channel signal arrays into the temp buffer + // interleave the source channel signal arrays into the temp buffer for(unsigned fi=0,si=0; fi