Home
last modified time | relevance | path

Searched refs:p_pref (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/av/
Dbta_av_sbc.c425 UINT8 bta_av_sbc_cfg_for_cap(UINT8 *p_peer, tA2D_SBC_CIE *p_cap, tA2D_SBC_CIE *p_pref) in bta_av_sbc_cfg_for_cap() argument
438 if (peer_cie.ch_mode & p_pref->ch_mode) in bta_av_sbc_cfg_for_cap()
440 peer_cie.ch_mode = p_pref->ch_mode; in bta_av_sbc_cfg_for_cap()
444 APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: ch_mode(0x%02X) not supported", p_pref->ch_mode); in bta_av_sbc_cfg_for_cap()
449 if (peer_cie.samp_freq & p_pref->samp_freq) in bta_av_sbc_cfg_for_cap()
451 peer_cie.samp_freq = p_pref->samp_freq; in bta_av_sbc_cfg_for_cap()
455 … APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: samp_freq(0x%02X) not supported", p_pref->samp_freq); in bta_av_sbc_cfg_for_cap()
460 if (peer_cie.block_len & p_pref->block_len) in bta_av_sbc_cfg_for_cap()
462 peer_cie.block_len = p_pref->block_len; in bta_av_sbc_cfg_for_cap()
466 … APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: block_len(0x%02X) not supported", p_pref->block_len); in bta_av_sbc_cfg_for_cap()
[all …]
/system/bt/bta/include/
Dbta_av_sbc.h181 extern UINT8 bta_av_sbc_cfg_for_cap(UINT8 *p_peer, tA2D_SBC_CIE *p_cap, tA2D_SBC_CIE *p_pref);