Lines Matching refs:ldac_config
481 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()
515 ldac_config.qualityIndex = LdacQualityIndex::QUALITY_ABR; in a2dp_get_selected_hal_codec_config()
522 ldac_config.bitsPerSample = in a2dp_get_selected_hal_codec_config()
524 if (ldac_config.bitsPerSample == BitsPerSample::BITS_UNKNOWN) { in a2dp_get_selected_hal_codec_config()
529 codec_config->config.ldacConfig(ldac_config); in a2dp_get_selected_hal_codec_config()