bta_av_sbc_cfg_for_cap() function
* Function bta_av_sbc_cfg_for_cap * Description Determine the preferred SBC codec configuration for the * given codec capabilities. The function is passed the * preferred codec configuration and the peer codec * capabilities for the stream. The function attempts to * match the preferred capabilities with the configuration * as best it can. The resulting codec configuration is * returned in the same memory used for the capabilities. * Returns 0 if ok, nonzero if error. * Codec configuration in p_cap.
bta_av_sbc_cfg_for_cap() calls 4 functions:
![]()
bta_av_sbc_cfg_for_cap()
bta_av_sbc_cfg_for_cap() reads 9 variables and writes 7 variables:
![]()
bta_av_sbc_cfg_for_cap()