mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: increase target for a52 and dca
For encoded format, we need to send bigger chunks to make the encoder happy. Add a new min_delay variable with this info so that we never leave less than that amount of samples in the ringbuffer. Fixes #2650
This commit is contained in:
parent
cbc75dc98d
commit
e5ac60b2b2
2 changed files with 11 additions and 3 deletions
|
|
@ -197,6 +197,7 @@ struct state {
|
|||
uint32_t last_threshold;
|
||||
uint32_t headroom;
|
||||
uint32_t start_delay;
|
||||
uint32_t min_delay;
|
||||
|
||||
uint32_t duration;
|
||||
unsigned int alsa_started:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue