Lines Matching refs:peer_cie
428 tA2D_SBC_CIE peer_cie; in bta_av_sbc_cfg_for_cap() local
432 if ((status = A2D_ParsSbcInfo(&peer_cie, p_peer, TRUE)) != 0) in bta_av_sbc_cfg_for_cap()
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()
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()
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()
471 if (peer_cie.num_subbands & p_pref->num_subbands) in bta_av_sbc_cfg_for_cap()
473 peer_cie.num_subbands = p_pref->num_subbands; in bta_av_sbc_cfg_for_cap()
482 if (peer_cie.alloc_mthd & p_pref->alloc_mthd) in bta_av_sbc_cfg_for_cap()
484 peer_cie.alloc_mthd = p_pref->alloc_mthd; in bta_av_sbc_cfg_for_cap()
493 if (p_pref->max_bitpool != 0 && p_pref->max_bitpool < peer_cie.max_bitpool) in bta_av_sbc_cfg_for_cap()
495 peer_cie.max_bitpool = p_pref->max_bitpool; in bta_av_sbc_cfg_for_cap()
499 if (p_pref->min_bitpool != 0 && p_pref->min_bitpool > peer_cie.min_bitpool) in bta_av_sbc_cfg_for_cap()
501 peer_cie.min_bitpool = p_pref->min_bitpool; in bta_av_sbc_cfg_for_cap()
507 A2D_BldSbcInfo(A2D_MEDIA_TYPE_AUDIO, &peer_cie, p_peer); in bta_av_sbc_cfg_for_cap()