mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: handle BAP presentation delay and transport latency
For BAP server audio sink, set buffering target so that we try to match the target presentation delay. Also adjust requested node latency to be smaller than the delay. Also fix BAP transport presentation delay value parsing, and parse also the other BAP transport properties. Of these, transport latency value needs to be taken into account in the total sink latency.
This commit is contained in:
parent
192044f1d9
commit
b9d7ecb5b2
4 changed files with 180 additions and 21 deletions
|
|
@ -603,7 +603,8 @@ struct spa_bt_transport {
|
|||
int fd;
|
||||
uint16_t read_mtu;
|
||||
uint16_t write_mtu;
|
||||
uint16_t delay;
|
||||
unsigned int delay_us;
|
||||
unsigned int latency_us;
|
||||
|
||||
struct spa_bt_sco_io *sco_io;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue