Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Da2dp_encoding.cc481 auto ldac_config = codec_config->config.ldacConfig(); in a2dp_get_selected_hal_codec_config() local
482 ldac_config.sampleRate = a2dp_codec_to_hal_sample_rate(current_codec); in a2dp_get_selected_hal_codec_config()
483 if (ldac_config.sampleRate == SampleRate::RATE_UNKNOWN) { in a2dp_get_selected_hal_codec_config()
490 ldac_config.channelMode = LdacChannelMode::STEREO; in a2dp_get_selected_hal_codec_config()
493 ldac_config.channelMode = LdacChannelMode::DUAL; in a2dp_get_selected_hal_codec_config()
496 ldac_config.channelMode = LdacChannelMode::MONO; in a2dp_get_selected_hal_codec_config()
501 ldac_config.channelMode = LdacChannelMode::UNKNOWN; in a2dp_get_selected_hal_codec_config()
506 ldac_config.qualityIndex = LdacQualityIndex::QUALITY_HIGH; in a2dp_get_selected_hal_codec_config()
509 ldac_config.qualityIndex = LdacQualityIndex::QUALITY_MID; in a2dp_get_selected_hal_codec_config()
512 ldac_config.qualityIndex = LdacQualityIndex::QUALITY_LOW; in a2dp_get_selected_hal_codec_config()
[all …]
Dclient_interface_unittest.cc170 LdacParameters ldac_config = codec_config.config.ldacConfig(); in IsOffloadCodecConfigurationSupported() local
174 (ldac_config.sampleRate & ldac_capability.sampleRate && in IsOffloadCodecConfigurationSupported()
175 ldac_config.channelMode & ldac_capability.channelMode && in IsOffloadCodecConfigurationSupported()
176 ldac_config.bitsPerSample & ldac_capability.bitsPerSample); in IsOffloadCodecConfigurationSupported()