Mooooore performance

This commit is contained in:
Ryzerth
2021-06-30 02:48:36 +02:00
parent 24892c854e
commit 8f4942bbe9
4 changed files with 7 additions and 12 deletions

View File

@ -235,6 +235,9 @@ private:
_this->stream.writeBuf[i].re = (float)buf[i * 2] / 32768.0f;
_this->stream.writeBuf[i].im = (float)buf[(i * 2) + 1] / 32768.0f;
}
volk_16i_s32f_convert_32f((float*)_this->stream.writeBuf, buf, 32768.0f, blockSize*2);
if (!_this->stream.swap(blockSize)) { break; };
}