File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ nothrow @nogc:
5959
6060
6161 /**
62- Process samples and return the convolved output.
62+ Load the impulse reponse.
63+ Changing the impulse response doesn't necessitate to call
64+ `.initialize`, however it will click.
6365
6466 MUST be called before processing samples.
6567 MUST be called whenever `.initialize` was called.
@@ -147,6 +149,7 @@ nothrow @nogc:
147149 }
148150 _blockConv.reallocBuffer(0 );
149151 _tempBuf.reallocBuffer(0 );
152+ _tempBuf2.reallocBuffer(0 );
150153 }
151154
152155private :
@@ -238,7 +241,7 @@ private:
238241 // Clear previous plan, if any
239242 _plan.clearContents();
240243
241- sizeOfDelayline = NaiveConvolver.delayLineNeeded(N , _maxFrames);
244+ sizeOfDelayline = NaiveConvolver.delayLineNeeded(MIN_BLOCK_SIZE , _maxFrames);
242245 maxUsedBlockSize = 0 ;
243246 directConvArea = MIN_BLOCK_SIZE ;
244247 if (directConvArea >= N)
You can’t perform that action at this time.
0 commit comments