mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-18 22:05:40 -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
|
|
@ -1401,9 +1401,9 @@ static int codec_get_bis_config(const struct media_codec *codec, uint8_t *caps,
|
|||
|
||||
const struct media_codec bap_codec_lc3 = {
|
||||
.id = SPA_BLUETOOTH_AUDIO_CODEC_LC3,
|
||||
.kind = MEDIA_CODEC_BAP,
|
||||
.name = "lc3",
|
||||
.codec_id = BAP_CODEC_LC3,
|
||||
.bap = true,
|
||||
.description = "LC3",
|
||||
.fill_caps = codec_fill_caps,
|
||||
.select_config = codec_select_config,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue