bluez5: add bluetoothAudioCodec property to device

Also make the "codecless" profiles to automatically switch to the codec
profiles.
This commit is contained in:
Pauli Virtanen 2021-03-21 02:38:26 +02:00 committed by Wim Taymans
parent 6b0cf799c4
commit a552655edc
6 changed files with 292 additions and 133 deletions

View file

@ -439,6 +439,7 @@ static int codec_increase_bitpool(void *data)
}
const struct a2dp_codec a2dp_codec_aac = {
.id = SPA_BLUETOOTH_AUDIO_CODEC_AAC,
.codec_id = A2DP_CODEC_MPEG24,
.name = "aac",
.description = "AAC",