Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_vendor_ldac.cc636 UNUSED_ATTR static void build_codec_config(const tA2DP_LDAC_CIE& config_cie, in build_codec_config() argument
638 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_44100) in build_codec_config()
640 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_48000) in build_codec_config()
642 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_88200) in build_codec_config()
644 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_96000) in build_codec_config()
646 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_176400) in build_codec_config()
648 if (config_cie.sampleRate & A2DP_LDAC_SAMPLING_FREQ_192000) in build_codec_config()
651 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
653 if (config_cie.channelMode & A2DP_LDAC_CHANNEL_MODE_MONO) in build_codec_config()
655 if (config_cie.channelMode & in build_codec_config()
Da2dp_aac.cc746 UNUSED_ATTR static void build_codec_config(const tA2DP_AAC_CIE& config_cie, in build_codec_config() argument
748 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_44100) in build_codec_config()
750 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_48000) in build_codec_config()
752 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_88200) in build_codec_config()
754 if (config_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_96000) in build_codec_config()
757 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
759 if (config_cie.channelMode & A2DP_AAC_CHANNEL_MODE_MONO) in build_codec_config()
761 if (config_cie.channelMode & A2DP_AAC_CHANNEL_MODE_STEREO) { in build_codec_config()
Da2dp_vendor_opus.cc677 UNUSED_ATTR static void build_codec_config(const tA2DP_OPUS_CIE& config_cie, in build_codec_config() argument
679 if (config_cie.sampleRate & A2DP_OPUS_SAMPLING_FREQ_48000) in build_codec_config()
682 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
684 if (config_cie.channelMode & A2DP_OPUS_CHANNEL_MODE_MONO) in build_codec_config()
686 if (config_cie.channelMode & A2DP_OPUS_CHANNEL_MODE_STEREO) { in build_codec_config()
690 if (config_cie.future1 & A2DP_OPUS_20MS_FRAMESIZE) in build_codec_config()
692 if (config_cie.future1 & A2DP_OPUS_10MS_FRAMESIZE) in build_codec_config()
Da2dp_sbc.cc843 UNUSED_ATTR static void build_codec_config(const tA2DP_SBC_CIE& config_cie, in build_codec_config() argument
845 if (config_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_44) in build_codec_config()
847 if (config_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_48) in build_codec_config()
850 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
852 if (config_cie.ch_mode & A2DP_SBC_IE_CH_MD_MONO) in build_codec_config()
855 if (config_cie.ch_mode & (A2DP_SBC_IE_CH_MD_STEREO | A2DP_SBC_IE_CH_MD_JOINT | in build_codec_config()