mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: replace codec->bap/asha flags with codec->kind enum
Indicate codec type with enum instead of bool flags. This is in preparation of moving also HFP to media codecs.
This commit is contained in:
parent
83c644fe09
commit
4e0d0c5f0b
17 changed files with 97 additions and 46 deletions
|
|
@ -683,6 +683,7 @@ static void codec_set_log(struct spa_log *global_log)
|
|||
|
||||
const struct media_codec a2dp_codec_aac = {
|
||||
.id = SPA_BLUETOOTH_AUDIO_CODEC_AAC,
|
||||
.kind = MEDIA_CODEC_A2DP,
|
||||
.codec_id = A2DP_CODEC_MPEG24,
|
||||
.name = "aac",
|
||||
.description = "AAC",
|
||||
|
|
@ -708,6 +709,7 @@ const struct media_codec a2dp_codec_aac = {
|
|||
|
||||
const struct media_codec a2dp_codec_aac_eld = {
|
||||
.id = SPA_BLUETOOTH_AUDIO_CODEC_AAC_ELD,
|
||||
.kind = MEDIA_CODEC_A2DP,
|
||||
.codec_id = A2DP_CODEC_MPEG24,
|
||||
.name = "aac_eld",
|
||||
.description = "AAC-ELD",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue