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.cc645 UNUSED_ATTR static void build_codec_config(const tA2DP_LDAC_CIE& config_cie, in build_codec_config() argument
647 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_44100) in build_codec_config()
649 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_48000) in build_codec_config()
651 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_88200) in build_codec_config()
653 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_96000) in build_codec_config()
655 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_176400) in build_codec_config()
657 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_192000) in build_codec_config()
660 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
662 if (config_cie.channelMode & A2DP_LDAC_CHANNEL_MODE_MONO) in build_codec_config()
664 if (config_cie.channelMode & in build_codec_config()
Da2dp_aac.cc729 UNUSED_ATTR static void build_codec_config(const tA2DP_AAC_CIE& config_cie, in build_codec_config() argument
731 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_44100) in build_codec_config()
733 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_48000) in build_codec_config()
735 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_88200) in build_codec_config()
737 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_96000) in build_codec_config()
740 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
742 if (config_cie.channelMode & A2DP_AAC_CHANNEL_MODE_MONO) in build_codec_config()
744 if (config_cie.channelMode & A2DP_AAC_CHANNEL_MODE_STEREO) { in build_codec_config()
Da2dp_sbc.cc852 UNUSED_ATTR static void build_codec_config(const tA2DP_SBC_CIE& config_cie, in build_codec_config() argument
854 if (config_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_44) in build_codec_config()
856 if (config_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_48) in build_codec_config()
859 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
861 if (config_cie.ch_mode & A2DP_SBC_IE_CH_MD_MONO) in build_codec_config()
864 if (config_cie.ch_mode & (A2DP_SBC_IE_CH_MD_STEREO | A2DP_SBC_IE_CH_MD_JOINT | in build_codec_config()