mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-09 10:06:25 -05:00
bluez5: add HFP codecs in the media codec API
Add copy of HFP codec implementations in the media codec API.
This commit is contained in:
parent
4e0d0c5f0b
commit
e6f5fb12a3
7 changed files with 845 additions and 8 deletions
|
|
@ -81,6 +81,9 @@ bool media_codec_check_caps(const struct media_codec *codec, unsigned int codec_
|
|||
uint8_t config[A2DP_MAX_CAPS_SIZE];
|
||||
int res;
|
||||
|
||||
if (codec->kind == MEDIA_CODEC_HFP)
|
||||
return true;
|
||||
|
||||
if (codec_id != codec->codec_id)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue