mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: reduce quirks logspam
There's no need to log quirks every time they are used, it's enough to log them once when a device connects.
This commit is contained in:
parent
726234c82f
commit
8504e58120
3 changed files with 40 additions and 10 deletions
|
|
@ -2075,9 +2075,10 @@ static void device_set_connected(struct spa_bt_device *device, int connected)
|
|||
if (device->connected && !connected)
|
||||
device->connected_profiles = 0;
|
||||
|
||||
if (connected)
|
||||
if (connected) {
|
||||
spa_bt_quirks_log_features(monitor->quirks, device->adapter, device);
|
||||
spa_bt_device_check_profiles(device, false);
|
||||
else {
|
||||
} else {
|
||||
/* Stop codec switch on disconnect */
|
||||
struct spa_bt_media_codec_switch *sw;
|
||||
spa_list_consume(sw, &device->codec_switch_list, device_link)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue