mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
fmt-ops: allocate shaper memory dynamically
It is based on the number of channels so allocate it dynamically.
This commit is contained in:
parent
d18670d7bb
commit
f7c3d37969
2 changed files with 5 additions and 3 deletions
|
|
@ -236,7 +236,7 @@ struct convert {
|
|||
uint32_t noise_size;
|
||||
const float *ns;
|
||||
uint32_t n_ns;
|
||||
struct shaper shaper[64];
|
||||
struct shaper *shaper;
|
||||
|
||||
void (*update_noise) (struct convert *conv, float *noise, uint32_t n_samples);
|
||||
void (*process) (struct convert *conv, void * SPA_RESTRICT dst[], const void * SPA_RESTRICT src[],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue