bluez: Configure the BlueZ broadcast source

This is the first draft where the configuration is done based on BIS information loaded from the config file.
This commit is contained in:
Silviu Florian Barbulescu 2024-04-22 09:35:49 +03:00 committed by Wim Taymans
parent db365ac855
commit 2bff4a9337
3 changed files with 430 additions and 0 deletions

View file

@ -81,6 +81,10 @@ struct media_codec {
const struct media_codec *duplex_codec; /**< Codec for non-standard A2DP duplex channel */
int (*get_bis_config)(const struct media_codec *codec, uint8_t *caps,
uint8_t *caps_size, char *preset, int channel_allocation,
struct bap_codec_qos *qos);
/** If fill_caps is NULL, no endpoint is registered (for sharing with another codec). */
int (*fill_caps) (const struct media_codec *codec, uint32_t flags,
uint8_t caps[A2DP_MAX_CAPS_SIZE]);