Home
last modified time | relevance | path

Searched refs:s16SamplingFreq (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/external/sbc/encoder/srce/
Dsbc_encoder.c200 UINT16 s16SamplingFreq; /*temp variable to store smpling freq*/ in SBC_Encoder_Init() local
217 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) { in SBC_Encoder_Init()
218 s16SamplingFreq = 16000; in SBC_Encoder_Init()
219 } else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) { in SBC_Encoder_Init()
220 s16SamplingFreq = 32000; in SBC_Encoder_Init()
221 } else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) { in SBC_Encoder_Init()
222 s16SamplingFreq = 44100; in SBC_Encoder_Init()
224 s16SamplingFreq = 48000; in SBC_Encoder_Init()
230 pstrEncParams->s16NumOfSubBands * 1000 / s16SamplingFreq) in SBC_Encoder_Init()
243 s16BitRate = (8 * s16FrameLen * s16SamplingFreq) in SBC_Encoder_Init()
[all …]
Dsbc_enc_bit_alloc_ste.c73 ps16GenTabPtr = (SINT16 *)sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
75 ps16GenTabPtr = (SINT16 *)sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
Dsbc_enc_bit_alloc_mono.c79 sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
82 sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_source.c742 a2dp_source_local_param.btc_aa_src_cb.encoder.s16SamplingFreq = pInitAudio->SamplingFreq; in btc_a2dp_source_enc_init()
758 a2dp_source_local_param.btc_aa_src_cb.encoder.s16SamplingFreq); in btc_a2dp_source_enc_init()
780 UINT16 s16SamplingFreq; in btc_a2dp_source_enc_update() local
799 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) { in btc_a2dp_source_enc_update()
800 s16SamplingFreq = 16000; in btc_a2dp_source_enc_update()
801 } else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) { in btc_a2dp_source_enc_update()
802 s16SamplingFreq = 32000; in btc_a2dp_source_enc_update()
803 } else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) { in btc_a2dp_source_enc_update()
804 s16SamplingFreq = 44100; in btc_a2dp_source_enc_update()
806 s16SamplingFreq = 48000; in btc_a2dp_source_enc_update()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/external/sbc/encoder/include/
Dsbc_encoder.h161 SINT16 s16SamplingFreq; /* 16k, 32k, 44.1k or 48k*/ member
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/hf_client/
Dbta_hf_client_co.c174 bta_hf_client_co_cb.encoder.s16SamplingFreq = SBC_sf16000; in bta_hf_enc_init()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/hf_ag/
Dbta_ag_co.c250 bta_ag_co_cb.encoder.s16SamplingFreq = SBC_sf16000; in bta_hf_enc_init()