bluez5: support device capability checks beyond A2DP caps + split sbc-xq to separate codec

We would like to have BT device codec capability checks beyond what's
possible based on A2DP caps.

Split SBC-XQ to a separate codec, and enable it in the device-dependent
check (although currently it just uses the config option).
This commit is contained in:
Pauli Virtanen 2021-01-25 22:06:34 +02:00 committed by Wim Taymans
parent e860f2bb4e
commit b642c7f209
4 changed files with 73 additions and 24 deletions

View file

@ -334,6 +334,8 @@ struct a2dp_codec {
const size_t send_buf_size;
const char *feature_flag;
int (*fill_caps) (const struct a2dp_codec *codec, uint32_t flags,
uint8_t caps[A2DP_MAX_CAPS_SIZE]);
int (*select_config) (const struct a2dp_codec *codec, uint32_t flags,