Home
last modified time | relevance | path

Searched refs:ch_mode (Results 1 – 7 of 7) sorted by relevance

/system/bt/bta/av/
Dbta_av_sbc.c438 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()
537 APPL_TRACE_DEBUG(" CH_MODE peer: 0%x, capability 0%x", cfg_cie.ch_mode, p_cap->ch_mode); in bta_av_sbc_cfg_matches_cap()
550 else if ((cfg_cie.ch_mode & p_cap->ch_mode) == 0) in bta_av_sbc_cfg_matches_cap()
614 else if ((cfg_cie.ch_mode & p_cap->ch_mode) == 0) in bta_av_sbc_cfg_in_cap()
/system/bt/stack/a2dp/
Da2d_sbc.c229 (p_ie->ch_mode & ~A2D_SBC_IE_CH_MD_MSK) || in A2D_BldSbcInfo()
250 *p_result++ = p_ie->samp_freq | p_ie->ch_mode; in A2D_BldSbcInfo()
296 p_ie->ch_mode = *p_info & A2D_SBC_IE_CH_MD_MSK; in A2D_ParsSbcInfo()
316 if(A2D_BitsSet(p_ie->ch_mode) != A2D_SET_ONE_BIT) in A2D_ParsSbcInfo()
/system/bt/btif/src/
Dbtif_media_task.c652 msg.ChannelMode = codec_mode_tbl[sbc_config.ch_mode >> 1]; in btif_a2dp_encoder_init()
1996 btif_media_cb.channel_count = btif_a2dp_get_track_channel_count(sbc_cie.ch_mode); in btif_media_task_aa_handle_decoder_reset()
2030 switch(sbc_cie.ch_mode) in btif_media_task_aa_handle_decoder_reset()
2033 APPL_TRACE_DEBUG("\tch_mode:%d (Mono)", sbc_cie.ch_mode); in btif_media_task_aa_handle_decoder_reset()
2036 APPL_TRACE_DEBUG("\tch_mode:%d (DUAL)", sbc_cie.ch_mode); in btif_media_task_aa_handle_decoder_reset()
2039 APPL_TRACE_DEBUG("\tch_mode:%d (STEREO)", sbc_cie.ch_mode); in btif_media_task_aa_handle_decoder_reset()
2042 APPL_TRACE_DEBUG("\tch_mode:%d (JOINT)", sbc_cie.ch_mode); in btif_media_task_aa_handle_decoder_reset()
2705 if (sbc_cie.ch_mode == A2D_SBC_IE_CH_MD_MONO) in dump_codec_info()
2706 { APPL_TRACE_DEBUG("\tch_mode:%d (Mono)", sbc_cie.ch_mode);} in dump_codec_info()
2707 else if (sbc_cie.ch_mode == A2D_SBC_IE_CH_MD_DUAL) in dump_codec_info()
[all …]
Dbtif_av.c1004 config_req.channel_count = btif_a2dp_get_track_channel_count(sbc_cie.ch_mode); in bte_av_media_callback()
/system/bt/stack/include/
Duipc_msg.h335 UINT8 ch_mode; member
342 UINT8 ch_mode; member
350 UINT8 ch_mode; member
Da2d_sbc.h80 UINT8 ch_mode; /* Channel mode */ member
/system/bt/btif/co/
Dbta_av_co.c410 if (src_cap.ch_mode & A2D_SBC_IE_CH_MD_JOINT) in bta_av_build_src_cfg()
411 pref_cap.ch_mode = A2D_SBC_IE_CH_MD_JOINT; in bta_av_build_src_cfg()
412 else if (src_cap.ch_mode & A2D_SBC_IE_CH_MD_STEREO) in bta_av_build_src_cfg()
413 pref_cap.ch_mode = A2D_SBC_IE_CH_MD_STEREO; in bta_av_build_src_cfg()
414 else if (src_cap.ch_mode & A2D_SBC_IE_CH_MD_DUAL) in bta_av_build_src_cfg()
415 pref_cap.ch_mode = A2D_SBC_IE_CH_MD_DUAL; in bta_av_build_src_cfg()
416 else if (src_cap.ch_mode & A2D_SBC_IE_CH_MD_MONO) in bta_av_build_src_cfg()
417 pref_cap.ch_mode = A2D_SBC_IE_CH_MD_MONO; in bta_av_build_src_cfg()