Home
last modified time | relevance | path

Searched refs:samp_freq (Results 1 – 6 of 6) sorted by relevance

/system/bt/bta/av/
Dbta_av_sbc.c449 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()
536 APPL_TRACE_DEBUG(" FREQ peer: 0%x, capability 0%x", cfg_cie.samp_freq, p_cap->samp_freq); in bta_av_sbc_cfg_matches_cap()
545 if ((cfg_cie.samp_freq & p_cap->samp_freq) == 0) in bta_av_sbc_cfg_matches_cap()
609 if ((cfg_cie.samp_freq & p_cap->samp_freq) == 0) in bta_av_sbc_cfg_in_cap()
/system/bt/stack/a2dp/
Da2d_sbc.c228 (p_ie->samp_freq & ~A2D_SBC_IE_SAMP_FREQ_MSK) || in A2D_BldSbcInfo()
250 *p_result++ = p_ie->samp_freq | p_ie->ch_mode; in A2D_BldSbcInfo()
295 p_ie->samp_freq = *p_info & A2D_SBC_IE_SAMP_FREQ_MSK; in A2D_ParsSbcInfo()
314 if(A2D_BitsSet(p_ie->samp_freq) != A2D_SET_ONE_BIT) in A2D_ParsSbcInfo()
/system/bt/btif/src/
Dbtif_media_task.c653 msg.SamplingFreq = freq_block_tbl[sbc_config.samp_freq >> 5]; in btif_a2dp_encoder_init()
1995 btif_media_cb.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq); in btif_media_task_aa_handle_decoder_reset()
2007 switch(sbc_cie.samp_freq) in btif_media_task_aa_handle_decoder_reset()
2010 APPL_TRACE_DEBUG("\tsamp_freq:%d (16000)", sbc_cie.samp_freq); in btif_media_task_aa_handle_decoder_reset()
2014 APPL_TRACE_DEBUG("\tsamp_freq:%d (32000)", sbc_cie.samp_freq); in btif_media_task_aa_handle_decoder_reset()
2018 APPL_TRACE_DEBUG("\tsamp_freq:%d (44100)", sbc_cie.samp_freq); in btif_media_task_aa_handle_decoder_reset()
2022 APPL_TRACE_DEBUG("\tsamp_freq:%d (48000)", sbc_cie.samp_freq); in btif_media_task_aa_handle_decoder_reset()
2694 if (sbc_cie.samp_freq == A2D_SBC_IE_SAMP_FREQ_16) in dump_codec_info()
2695 { APPL_TRACE_DEBUG("\tsamp_freq:%d (16000)", sbc_cie.samp_freq);} in dump_codec_info()
2696 else if (sbc_cie.samp_freq == A2D_SBC_IE_SAMP_FREQ_32) in dump_codec_info()
[all …]
Dbtif_av.c1003 config_req.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq); in bte_av_media_callback()
/system/bt/stack/include/
Da2d_sbc.h79 UINT8 samp_freq; /* Sampling frequency */ member
/system/bt/btif/co/
Dbta_av_co.c405 if (src_cap.samp_freq & A2D_SBC_IE_SAMP_FREQ_48) in bta_av_build_src_cfg()
406 pref_cap.samp_freq = A2D_SBC_IE_SAMP_FREQ_48; in bta_av_build_src_cfg()
407 else if (src_cap.samp_freq & A2D_SBC_IE_SAMP_FREQ_44) in bta_av_build_src_cfg()
408 pref_cap.samp_freq = A2D_SBC_IE_SAMP_FREQ_44; in bta_av_build_src_cfg()
1620 sbc_config.samp_freq = A2D_SBC_IE_SAMP_FREQ_48; in bta_av_co_audio_set_codec()
1626 sbc_config.samp_freq = A2D_SBC_IE_SAMP_FREQ_44; in bta_av_co_audio_set_codec()