mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05: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 */
|
/* get next token */
|
||||||
token = strtok(NULL, separators);
|
token = strtok(NULL, separators);
|
||||||
features = atoi(token);
|
features = atoi(token);
|
||||||
if (((features & (SPA_BT_HFP_HF_FEATURE_CODEC_NEGOTIATION)) != 0) &&
|
if (((features & (SPA_BT_HFP_AG_FEATURE_CODEC_NEGOTIATION)) != 0) &&
|
||||||
rfcomm->msbc_supported_by_hfp)
|
rfcomm->msbc_supported_by_hfp)
|
||||||
rfcomm->codec_negotiation_supported = true;
|
rfcomm->codec_negotiation_supported = true;
|
||||||
} else if (strncmp(token, "+BCS", 4) == 0) {
|
} else if (strncmp(token, "+BCS", 4) == 0) {
|
||||||
char *cmd;
|
char *cmd;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue