Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_source.c639 tA2D_SBC_CIE sbc_config; in btc_a2dp_source_encoder_init() local
653 bta_av_co_audio_get_sbc_config(&sbc_config, &minmtu); in btc_a2dp_source_encoder_init()
654 msg.NumOfSubBands = (sbc_config.num_subbands == A2D_SBC_IE_SUBBAND_4) ? 4 : 8; in btc_a2dp_source_encoder_init()
655 msg.NumOfBlocks = codec_block_tbl[sbc_config.block_len >> 5]; in btc_a2dp_source_encoder_init()
656 … msg.AllocationMethod = (sbc_config.alloc_mthd == A2D_SBC_IE_ALLOC_MD_L) ? SBC_LOUDNESS : SBC_SNR; in btc_a2dp_source_encoder_init()
657 msg.ChannelMode = codec_mode_tbl[sbc_config.ch_mode >> 1]; in btc_a2dp_source_encoder_init()
658 msg.SamplingFreq = freq_block_tbl[sbc_config.samp_freq >> 5]; in btc_a2dp_source_encoder_init()
670 tA2D_SBC_CIE sbc_config; in btc_a2dp_source_encoder_update() local
678 bta_av_co_audio_get_sbc_config(&sbc_config, &minmtu); in btc_a2dp_source_encoder_update()
681 sbc_config.min_bitpool, sbc_config.min_bitpool, in btc_a2dp_source_encoder_update()
[all …]
Dbta_av_co.c1446 tA2D_SBC_CIE sbc_config; in bta_av_co_audio_set_codec() local
1461 sbc_config = btc_av_sbc_default_config; in bta_av_co_audio_set_codec()
1479 sbc_config.samp_freq = A2D_SBC_IE_SAMP_FREQ_48; in bta_av_co_audio_set_codec()
1485 sbc_config.samp_freq = A2D_SBC_IE_SAMP_FREQ_44; in bta_av_co_audio_set_codec()
1493 if (A2D_BldSbcInfo(A2D_MEDIA_TYPE_AUDIO, &sbc_config, new_cfg.info) != A2D_SUCCESS) { in bta_av_co_audio_set_codec()