mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: media-sink: set initial latency after getting transport
The call to set_latency doesn't do anything, before transport has been set.
This commit is contained in:
parent
c7b3ef0d9f
commit
b0853ad34a
1 changed files with 2 additions and 1 deletions
|
|
@ -1754,7 +1754,6 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
port->latency = SPA_LATENCY_INFO(SPA_DIRECTION_INPUT);
|
||||
port->latency.min_quantum = 1.0f;
|
||||
port->latency.max_quantum = 1.0f;
|
||||
set_latency(this, false);
|
||||
|
||||
spa_list_init(&port->ready);
|
||||
|
||||
|
|
@ -1800,6 +1799,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
|
||||
reset_props(this, &this->props);
|
||||
|
||||
set_latency(this, false);
|
||||
|
||||
spa_bt_transport_add_listener(this->transport,
|
||||
&this->transport_listener, &transport_events, this);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue