mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-22 06:46:56 -04:00
convolver: handle partial blocks
This commit is contained in:
parent
c5e1a3eae3
commit
b9e62aad8a
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ int convolver_run(struct convolver *conv, const float *input, float *output, int
|
||||||
memset(conv->tailInput + conv->tailInputFill + processing, 0,
|
memset(conv->tailInput + conv->tailInputFill + processing, 0,
|
||||||
(2 * conv->headBlockSize - processing) * sizeof(float));
|
(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);
|
&output[processed], processing);
|
||||||
|
|
||||||
if (conv->tailPrecalculated)
|
if (conv->tailPrecalculated)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue