mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-16 22:05:31 -05: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
|
|
@ -634,6 +634,7 @@ static void codec_get_delay(void *data, uint32_t *encoder, uint32_t *decoder)
|
|||
|
||||
const struct media_codec a2dp_codec_sbc = {
|
||||
.id = SPA_BLUETOOTH_AUDIO_CODEC_SBC,
|
||||
.kind = MEDIA_CODEC_A2DP,
|
||||
.codec_id = A2DP_CODEC_SBC,
|
||||
.name = "sbc",
|
||||
.description = "SBC",
|
||||
|
|
@ -657,6 +658,7 @@ const struct media_codec a2dp_codec_sbc = {
|
|||
|
||||
const struct media_codec a2dp_codec_sbc_xq = {
|
||||
.id = SPA_BLUETOOTH_AUDIO_CODEC_SBC_XQ,
|
||||
.kind = MEDIA_CODEC_A2DP,
|
||||
.codec_id = A2DP_CODEC_SBC,
|
||||
.name = "sbc_xq",
|
||||
.description = "SBC-XQ",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue