convolver: handle partial blocks

This commit is contained in:
Wim Taymans 2026-04-20 13:57:47 +02:00
parent c5e1a3eae3
commit b9e62aad8a

View file

@ -323,7 +323,7 @@ int convolver_run(struct convolver *conv, const float *input, float *output, int
memset(conv->tailInput + conv->tailInputFill + processing, 0,
(2 * conv->headBlockSize - processing) * sizeof(float));
partition_run(dsp, conv->headPartition, conv->tailInput + conv->tailInputFill,
partition_run(dsp, conv->headPartition, conv->tailInput + conv->tailInputFill - blockRemain,
&output[processed], processing);
if (conv->tailPrecalculated)