Searched refs:sbc_config (Results 1 – 2 of 2) sorted by relevance
670 tA2D_SBC_CIE sbc_config; in btc_a2dp_source_encoder_init() local684 bta_av_co_audio_get_sbc_config(&sbc_config, &minmtu); in btc_a2dp_source_encoder_init()685 msg.NumOfSubBands = (sbc_config.num_subbands == A2D_SBC_IE_SUBBAND_4) ? 4 : 8; in btc_a2dp_source_encoder_init()686 msg.NumOfBlocks = codec_block_tbl[sbc_config.block_len >> 5]; in btc_a2dp_source_encoder_init()687 … msg.AllocationMethod = (sbc_config.alloc_mthd == A2D_SBC_IE_ALLOC_MD_L) ? SBC_LOUDNESS : SBC_SNR; in btc_a2dp_source_encoder_init()688 msg.ChannelMode = codec_mode_tbl[sbc_config.ch_mode >> 1]; in btc_a2dp_source_encoder_init()689 msg.SamplingFreq = freq_block_tbl[sbc_config.samp_freq >> 5]; in btc_a2dp_source_encoder_init()701 tA2D_SBC_CIE sbc_config; in btc_a2dp_source_encoder_update() local709 bta_av_co_audio_get_sbc_config(&sbc_config, &minmtu); in btc_a2dp_source_encoder_update()712 sbc_config.min_bitpool, sbc_config.min_bitpool, in btc_a2dp_source_encoder_update()[all …]
1504 tA2D_SBC_CIE sbc_config; in bta_av_co_audio_set_codec() local1519 sbc_config = btc_av_sbc_default_config; in bta_av_co_audio_set_codec()1537 sbc_config.samp_freq = A2D_SBC_IE_SAMP_FREQ_48; in bta_av_co_audio_set_codec()1543 sbc_config.samp_freq = A2D_SBC_IE_SAMP_FREQ_44; in bta_av_co_audio_set_codec()1551 if (A2D_BldSbcInfo(A2D_MEDIA_TYPE_AUDIO, &sbc_config, new_cfg.info) != A2D_SUCCESS) { in bta_av_co_audio_set_codec()