From 81fac5b896f068054f697f06048cb899718da976 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 30 Dec 2021 18:15:32 +0530 Subject: [PATCH] bluez5: Set profile priority in SPA attributes --- spa/plugins/bluez5/bluez5-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/plugins/bluez5/bluez5-device.c b/spa/plugins/bluez5/bluez5-device.c index 093089b0d..8679ecfd8 100644 --- a/spa/plugins/bluez5/bluez5-device.c +++ b/spa/plugins/bluez5/bluez5-device.c @@ -1233,6 +1233,7 @@ static struct spa_pod *build_profile(struct impl *this, struct spa_pod_builder * SPA_PARAM_PROFILE_name, SPA_POD_String(name), SPA_PARAM_PROFILE_description, SPA_POD_String(desc), SPA_PARAM_PROFILE_available, SPA_POD_Id(SPA_PARAM_AVAILABILITY_yes), + SPA_PARAM_PROFILE_priority, SPA_POD_Int(codec), 0); if (n_source > 0 || n_sink > 0) { spa_pod_builder_prop(b, SPA_PARAM_PROFILE_classes, 0);