Skip to content

Commit fbcd2a0

Browse files
committed
[common] the input is not a ring buffer anymore, no need to be 2x the size
1 parent 3e56266 commit fbcd2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/src/RnNoiseCommonPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void RnNoiseCommonPlugin::init() {
5353
src_set_ratio(m_srcDown.get(), m_downRatio);
5454
src_set_ratio(m_srcUp .get(), m_upRatio );
5555

56-
m_inBuffer .resize(k_denoiseFrameSize * 2);
56+
m_inBuffer .resize(k_denoiseFrameSize);
5757
m_outBuffer.resize(k_denoiseFrameSize * 2);
5858
m_outBufferR = 0;
5959
m_outBufferW = 0;

0 commit comments

Comments
 (0)