mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: add resample.prefill option
Add a resampler option to prefill the resampler with 0. This then results in the resampler always outputing and consuming the same amount of data instead of a short buffer in the beginning.
This commit is contained in:
parent
d48627d0e7
commit
31f9e18edb
3 changed files with 8 additions and 1 deletions
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
struct resample {
|
||||
struct spa_log *log;
|
||||
#define RESAMPLE_OPTION_PREFILL (1<<0)
|
||||
uint32_t options;
|
||||
uint32_t cpu_flags;
|
||||
const char *func_name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue