bluez5: support other ldac bit depth

Make the format_info const in codec_init, we just need to read the
final negotiated format in some cases.
Add some more ldac bit depths we support.
This commit is contained in:
Wim Taymans 2020-12-11 13:30:11 +01:00
parent bcf6c0986e
commit 8b52e44836
5 changed files with 50 additions and 116 deletions

View file

@ -336,7 +336,7 @@ struct a2dp_codec {
struct spa_pod_builder *builder, struct spa_pod **param);
void *(*init) (const struct a2dp_codec *codec, uint32_t flags, void *config, size_t config_size,
struct spa_audio_info *info, size_t mtu);
const struct spa_audio_info *info, size_t mtu);
void (*deinit) (void *data);
int (*get_block_size) (void *data);