Skip to content

Commit

Permalink
[common] the input is not a ring buffer anymore, no need to be 2x the…
Browse files Browse the repository at this point in the history
… size
  • Loading branch information
gnif committed Mar 11, 2019
1 parent 3e56266 commit fbcd2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/src/RnNoiseCommonPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void RnNoiseCommonPlugin::init() {
src_set_ratio(m_srcDown.get(), m_downRatio);
src_set_ratio(m_srcUp .get(), m_upRatio );

m_inBuffer .resize(k_denoiseFrameSize * 2);
m_inBuffer .resize(k_denoiseFrameSize);
m_outBuffer.resize(k_denoiseFrameSize * 2);
m_outBufferR = 0;
m_outBufferW = 0;
Expand Down

0 comments on commit fbcd2a0

Please sign in to comment.