Check if the adapter supports bap broadcast before registering the broadcast endpoint.

This commit is contained in:
Silviu Florian Barbulescu 2023-08-02 13:26:02 +03:00 committed by Wim Taymans
parent e2fa5537f7
commit b07bb4e106
2 changed files with 28 additions and 4 deletions

View file

@ -365,6 +365,7 @@ struct spa_bt_adapter {
unsigned int le_audio_supported:1;
unsigned int has_adapter1_interface:1;
unsigned int has_media1_interface:1;
unsigned int le_audio_bcast_supported :1;
};
enum spa_bt_form_factor {