mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: make set transport volume calls async
The transport set volume call may take a long time or never complete, so make them async to not block main loop. Also reduce log level to info for the failed volume setting, as this is something the user can do nothing about.
This commit is contained in:
parent
9c788d0c7e
commit
04951ac15f
2 changed files with 59 additions and 16 deletions
|
|
@ -638,6 +638,7 @@ struct spa_bt_transport {
|
|||
struct spa_source volume_timer;
|
||||
struct spa_source release_timer;
|
||||
DBusPendingCall *acquire_call;
|
||||
DBusPendingCall *volume_call;
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
struct spa_callbacks impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue