bluez: disable by default the registration of the BAP broadcast sink and BAP broadcast source

The support can be enabled, from the config file with "bap_bcast_source" and "bap_bcast_sink".
This commit is contained in:
Silviu Florian Barbulescu 2024-04-16 15:06:30 +03:00
parent 24478b9128
commit b8bf845a09

View file

@ -5847,6 +5847,10 @@ static int parse_roles(struct spa_bt_monitor *monitor, const struct spa_dict *in
}
profiles &= res;
} else {
/* Default disable BAP_BROADCAST_SINK and BAP_BROADCAST_SOURCE */
profiles &= (SPA_BT_PROFILE_A2DP_SINK | SPA_BT_PROFILE_BAP_SINK |
SPA_BT_PROFILE_A2DP_SOURCE | SPA_BT_PROFILE_BAP_SOURCE);
}
res = 0;