Home
last modified time | relevance | path

Searched refs:config_cie (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_vendor_ldac.cc637 UNUSED_ATTR static void build_codec_config(const tA2DP_LDAC_CIE& config_cie, in build_codec_config() argument
639 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_44100) in build_codec_config()
641 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_48000) in build_codec_config()
643 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_88200) in build_codec_config()
645 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_96000) in build_codec_config()
647 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_176400) in build_codec_config()
649 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_192000) in build_codec_config()
652 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
654 if (config_cie.channelMode & A2DP_LDAC_CHANNEL_MODE_MONO) in build_codec_config()
656 if (config_cie.channelMode & in build_codec_config()
Da2dp_aac.cc752 UNUSED_ATTR static void build_codec_config(const tA2DP_AAC_CIE& config_cie, in build_codec_config() argument
754 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_44100) in build_codec_config()
756 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_48000) in build_codec_config()
758 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_88200) in build_codec_config()
760 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_96000) in build_codec_config()
763 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
765 if (config_cie.channelMode & A2DP_AAC_CHANNEL_MODE_MONO) in build_codec_config()
767 if (config_cie.channelMode & A2DP_AAC_CHANNEL_MODE_STEREO) { in build_codec_config()
Da2dp_sbc.cc844 UNUSED_ATTR static void build_codec_config(const tA2DP_SBC_CIE& config_cie, in build_codec_config() argument
846 if (config_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_44) in build_codec_config()
848 if (config_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_48) in build_codec_config()
851 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
853 if (config_cie.ch_mode & A2DP_SBC_IE_CH_MD_MONO) in build_codec_config()
856 if (config_cie.ch_mode & (A2DP_SBC_IE_CH_MD_STEREO | A2DP_SBC_IE_CH_MD_JOINT | in build_codec_config()