Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dc040f0 authored by Martin Brabham's avatar Martin Brabham Committed by Andre Eisenbach
Browse files

hfp: change initial codec from MSBC_T1 to CVSD

4.11.2 Audio Connection Setup by HF For all HF initiated audio connection
establishments for which both sides support the Codec Negotiation feature,
the HF shall trigger the AG to establish a Codec Connection. This is
necessary because only the AG knows about the codec selection and settings
of the network.

In the event we do not support codec negotiation we should make our initial
codec CVSD

Bug: 66324788
Change-Id: Ib68129ea1399c54224109e3ca7ba12784973d68f
parent b537e793
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ static void bta_hf_client_sco_create(tBTA_HF_CLIENT_CB* client_cb,
    return;
  }

  enh_esco_params_t params = esco_parameters_for_codec(ESCO_CODEC_MSBC_T1);
  enh_esco_params_t params = esco_parameters_for_codec(ESCO_CODEC_CVSD);

  /* if initiating set current scb and peer bd addr */
  if (is_orig) {