mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-13 05:33:55 -04:00
bluez5: media-source: do buffering on connection start also with PLC
Also when we are capable of PLC, it's better to buffer audio at start, to get a buffer level close to the target initially. Delay ISO overrun handling one cycle after buffering is complete, so that any resamplers are filled at that point.
This commit is contained in:
parent
1d7e89e069
commit
b535534611
2 changed files with 9 additions and 2 deletions
|
|
@ -682,7 +682,6 @@ void spa_bt_iso_io_set_source_buffer(struct spa_bt_iso_io *this, struct spa_bt_d
|
|||
if (buffer) {
|
||||
/* Take over buffer overrun handling */
|
||||
buffer->no_overrun_drop = true;
|
||||
buffer->buffering = false;
|
||||
buffer->avg_period = ISO_BUFFERING_AVG_PERIOD;
|
||||
buffer->rate_diff_max = ISO_BUFFERING_RATE_DIFF_MAX;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue