• Home
  • Raw
  • Download

Lines Matching refs:sbc_config

301       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()
338 sbc_config.blockLength = SbcBlockLength::BLOCKS_12; in a2dp_get_selected_hal_codec_config()
341 sbc_config.blockLength = SbcBlockLength::BLOCKS_16; in a2dp_get_selected_hal_codec_config()
351 sbc_config.numSubbands = SbcNumSubbands::SUBBAND_4; in a2dp_get_selected_hal_codec_config()
354 sbc_config.numSubbands = SbcNumSubbands::SUBBAND_8; in a2dp_get_selected_hal_codec_config()
364 sbc_config.allocMethod = SbcAllocMethod::ALLOC_MD_S; in a2dp_get_selected_hal_codec_config()
367 sbc_config.allocMethod = SbcAllocMethod::ALLOC_MD_L; in a2dp_get_selected_hal_codec_config()
374 sbc_config.minBitpool = a2dp_offload.codec_info[1]; in a2dp_get_selected_hal_codec_config()
375 sbc_config.maxBitpool = a2dp_offload.codec_info[2]; in a2dp_get_selected_hal_codec_config()
376 sbc_config.bitsPerSample = in a2dp_get_selected_hal_codec_config()
378 if (sbc_config.bitsPerSample == BitsPerSample::BITS_UNKNOWN) { in a2dp_get_selected_hal_codec_config()
383 codec_config->config.sbcConfig(sbc_config); in a2dp_get_selected_hal_codec_config()