mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
default-profile: don't try to restore bluetooth profiles
This commit is contained in:
parent
b3f728b1a0
commit
39f082fc86
1 changed files with 6 additions and 0 deletions
|
|
@ -213,10 +213,16 @@ static void object_update(void *data)
|
|||
{
|
||||
struct device *dev = data;
|
||||
struct impl *impl = dev->impl;
|
||||
const char *str;
|
||||
|
||||
pw_log_debug(NAME" %p: device %p %08x/%08x", impl, dev,
|
||||
dev->obj->obj.changed, dev->obj->obj.avail);
|
||||
|
||||
if (dev->obj->info && dev->obj->info->props &&
|
||||
(str = spa_dict_lookup(dev->obj->info->props, PW_KEY_DEVICE_BUS)) != NULL &&
|
||||
strcmp(str, "bluetooth") == 0)
|
||||
return;
|
||||
|
||||
if (dev->obj->obj.changed & SM_NODE_CHANGE_MASK_PARAMS) {
|
||||
struct sm_param *p;
|
||||
spa_list_for_each(p, &dev->obj->param_list, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue