mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
node: add active flag for rate match
Add flags to the rate match io area Add flag to activate/deactivate rate match Set active flag in rate match when slaved Update rate before starting resample
This commit is contained in:
parent
f5b9862a89
commit
116676e149
3 changed files with 14 additions and 3 deletions
|
|
@ -265,6 +265,8 @@ struct spa_io_rate_match {
|
|||
uint32_t delay; /**< extra delay in samples for resampler */
|
||||
uint32_t size; /**< requested input size for resampler */
|
||||
double rate; /**< rate for resampler */
|
||||
#define SPA_IO_RATE_MATCH_FLAG_ACTIVE (1 << 0)
|
||||
uint32_t flags; /**< extra flags */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue