From c38420ab475afe054e1178bf2fa91516c3236d35 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 13 Jul 2024 11:57:54 -0400 Subject: [PATCH] cwAudioFile.cpp : Fixed comment in _write_audio(). --- cwAudioFile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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