Home
last modified time | relevance | path

Searched refs:sbc_config (Results 1 – 2 of 2) sorted by relevance

/system/bt/audio_hal_interface/
Da2dp_encoding.cc301 auto sbc_config = codec_config->config.sbcConfig(); in a2dp_get_selected_hal_codec_config() local
302 sbc_config.sampleRate = a2dp_codec_to_hal_sample_rate(current_codec); in a2dp_get_selected_hal_codec_config()
303 if (sbc_config.sampleRate == SampleRate::RATE_UNKNOWN) { in a2dp_get_selected_hal_codec_config()
311 sbc_config.channelMode = SbcChannelMode::JOINT_STEREO; in a2dp_get_selected_hal_codec_config()
314 sbc_config.channelMode = SbcChannelMode::STEREO; in a2dp_get_selected_hal_codec_config()
317 sbc_config.channelMode = SbcChannelMode::DUAL; in a2dp_get_selected_hal_codec_config()
320 sbc_config.channelMode = SbcChannelMode::MONO; in a2dp_get_selected_hal_codec_config()
325 sbc_config.channelMode = SbcChannelMode::UNKNOWN; in a2dp_get_selected_hal_codec_config()
332 sbc_config.blockLength = SbcBlockLength::BLOCKS_4; in a2dp_get_selected_hal_codec_config()
335 sbc_config.blockLength = SbcBlockLength::BLOCKS_8; in a2dp_get_selected_hal_codec_config()
[all …]
Dclient_interface_unittest.cc139 SbcParameters sbc_config = codec_config.config.sbcConfig(); in IsOffloadCodecConfigurationSupported() local
143 (sbc_config.sampleRate & sbc_capability.sampleRate && in IsOffloadCodecConfigurationSupported()
144 sbc_config.channelMode & sbc_capability.channelMode && in IsOffloadCodecConfigurationSupported()
145 sbc_config.blockLength & sbc_capability.blockLength && in IsOffloadCodecConfigurationSupported()
146 sbc_config.numSubbands & sbc_capability.numSubbands && in IsOffloadCodecConfigurationSupported()
147 sbc_config.allocMethod & sbc_capability.allocMethod && in IsOffloadCodecConfigurationSupported()
148 sbc_config.bitsPerSample & sbc_capability.bitsPerSample && in IsOffloadCodecConfigurationSupported()
149 (sbc_capability.minBitpool <= sbc_config.minBitpool && in IsOffloadCodecConfigurationSupported()
150 sbc_config.minBitpool <= sbc_config.maxBitpool && in IsOffloadCodecConfigurationSupported()
151 sbc_config.maxBitpool <= sbc_capability.maxBitpool)); in IsOffloadCodecConfigurationSupported()