bluez: input = source, output = sink

This commit is contained in:
Wim Taymans 2021-02-12 16:10:58 +01:00
parent 0855b1bb4b
commit 2a83811297
3 changed files with 6 additions and 6 deletions

View file

@ -169,9 +169,9 @@ static struct node *bluez5_create_node(struct device *device, uint32_t id,
str = pw_properties_get(device->props, SPA_KEY_DEVICE_NAME);
if (strstr(info->factory_name, "sink") != NULL)
prefix = "bluez_input";
else if (strstr(info->factory_name, "source") != NULL)
prefix = "bluez_output";
else if (strstr(info->factory_name, "source") != NULL)
prefix = "bluez_input";
else
prefix = info->factory_name;