mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: report ISO latency correctly and refresh when transport starts
This commit is contained in:
parent
5e79d0fb01
commit
a2ede93479
1 changed files with 2 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ static void set_latency(struct impl *this, bool emit_latency)
|
|||
port->latency.min_ns = port->latency.max_ns = delay;
|
||||
port->latency.min_rate = port->latency.max_rate = 0;
|
||||
|
||||
if (this->transport->iso_io) {
|
||||
if (this->codec->kind == MEDIA_CODEC_BAP) {
|
||||
/* ISO has different delay */
|
||||
port->latency.min_quantum = port->latency.max_quantum = 1.0f;
|
||||
} else {
|
||||
|
|
@ -1649,6 +1649,7 @@ static int transport_start(struct impl *this)
|
|||
spa_list_append(&asha_sinks, &this->asha_link);
|
||||
}
|
||||
|
||||
set_latency(this, true);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue