mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: backend_native: Fix +BRSF parsing for HFP HF
This commit is contained in:
parent
be7caf0e66
commit
23823867b0
1 changed files with 2 additions and 2 deletions
|
|
@ -449,8 +449,8 @@ static bool rfcomm_hfp_hf(struct spa_source *source, char* buf)
|
|||
/* get next token */
|
||||
token = strtok(NULL, separators);
|
||||
features = atoi(token);
|
||||
if (((features & (SPA_BT_HFP_HF_FEATURE_CODEC_NEGOTIATION)) != 0) &&
|
||||
rfcomm->msbc_supported_by_hfp)
|
||||
if (((features & (SPA_BT_HFP_AG_FEATURE_CODEC_NEGOTIATION)) != 0) &&
|
||||
rfcomm->msbc_supported_by_hfp)
|
||||
rfcomm->codec_negotiation_supported = true;
|
||||
} else if (strncmp(token, "+BCS", 4) == 0) {
|
||||
char *cmd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue