mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-13 04:27:51 -05:00
bluez5: support LC3-24kHz HFP codec available on some Apple devices
Add support of HFP codec used on eg Apple AirPods 3+, transporting LC3 mono @ 24kHz
This commit is contained in:
parent
6982bb8c7f
commit
64f2f38ec4
5 changed files with 255 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ static int codec_order(const struct media_codec *c)
|
|||
SPA_BLUETOOTH_AUDIO_CODEC_AAC_ELD,
|
||||
SPA_BLUETOOTH_AUDIO_CODEC_G722,
|
||||
SPA_BLUETOOTH_AUDIO_CODEC_LC3_SWB,
|
||||
SPA_BLUETOOTH_AUDIO_CODEC_LC3_A127,
|
||||
SPA_BLUETOOTH_AUDIO_CODEC_MSBC,
|
||||
SPA_BLUETOOTH_AUDIO_CODEC_CVSD,
|
||||
};
|
||||
|
|
@ -192,6 +193,7 @@ const struct media_codec * const *load_media_codecs(struct spa_plugin_loader *lo
|
|||
MEDIA_CODEC_FACTORY_LIB("hfp-cvsd"),
|
||||
MEDIA_CODEC_FACTORY_LIB("hfp-msbc"),
|
||||
MEDIA_CODEC_FACTORY_LIB("hfp-lc3-swb"),
|
||||
MEDIA_CODEC_FACTORY_LIB("hfp-lc3-a127"),
|
||||
#undef MEDIA_CODEC_FACTORY_LIB
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue