mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-04 15:10:20 +00:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Barnabás Pőcze <pobrn@protonmail.com>
This commit is contained in:
parent
1259829ac3
commit
625c0f5784
|
@ -2635,8 +2635,7 @@ static struct spa_bt_device *create_bcast_device(struct spa_bt_monitor *monitor,
|
|||
d->adapter_path = strdup(adapter->path);
|
||||
d->alias = strdup(adapter->alias);
|
||||
d->name = strdup(adapter->name);
|
||||
if (asprintf(&d->address , "00:00:00:00:00:00.%d",d->id) < 0)
|
||||
return NULL;
|
||||
d->address = spa_aprintf("00:00:00:00:00:00.%d", d->id);
|
||||
d->reconnect_state = BT_DEVICE_RECONNECT_STOP;
|
||||
|
||||
device_update_hw_volume_profiles(d);
|
||||
|
|
Loading…
Reference in a new issue