bluez5: Add LC3 codec support to LE Audio BAP

By default this codec is disabled as the BlueZ support for LE Audio is
still experimental.
This commit is contained in:
Frédéric Danis 2022-06-16 09:56:52 +02:00 committed by Wim Taymans
parent fd0bcb1699
commit 201fd7755d
9 changed files with 820 additions and 3 deletions

View file

@ -58,6 +58,9 @@ enum spa_bluetooth_audio_codec {
/* HFP */
SPA_BLUETOOTH_AUDIO_CODEC_CVSD = 0x100,
SPA_BLUETOOTH_AUDIO_CODEC_MSBC,
/* BAP */
SPA_BLUETOOTH_AUDIO_CODEC_LC3 = 0x200,
};
/**

View file

@ -62,6 +62,8 @@ static const struct spa_type_info spa_type_bluetooth_audio_codec[] = {
{ SPA_BLUETOOTH_AUDIO_CODEC_CVSD, SPA_TYPE_Int, SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE "cvsd", NULL },
{ SPA_BLUETOOTH_AUDIO_CODEC_MSBC, SPA_TYPE_Int, SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE "msbc", NULL },
{ SPA_BLUETOOTH_AUDIO_CODEC_LC3, SPA_TYPE_Int, SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE "lc3", NULL },
{ 0, 0, NULL, NULL },
};