Home
last modified time | relevance | path

Searched refs:p_feeding (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_source.c916 static void btc_a2dp_source_pcm2sbc_init(tBTC_MEDIA_INIT_AUDIO_FEEDING *p_feeding) in btc_a2dp_source_pcm2sbc_init() argument
921 APPL_TRACE_DEBUG("sampling_freq:%d", p_feeding->feeding.cfg.pcm.sampling_freq); in btc_a2dp_source_pcm2sbc_init()
922 APPL_TRACE_DEBUG("num_channel:%d", p_feeding->feeding.cfg.pcm.num_channel); in btc_a2dp_source_pcm2sbc_init()
923 APPL_TRACE_DEBUG("bit_per_sample:%d", p_feeding->feeding.cfg.pcm.bit_per_sample); in btc_a2dp_source_pcm2sbc_init()
926 switch (p_feeding->feeding.cfg.pcm.sampling_freq) { in btc_a2dp_source_pcm2sbc_init()
990 tBTC_MEDIA_INIT_AUDIO_FEEDING *p_feeding = (tBTC_MEDIA_INIT_AUDIO_FEEDING *) p_msg; in btc_a2dp_source_audio_feeding_init() local
992 APPL_TRACE_DEBUG("%s format:%d", __FUNCTION__, p_feeding->feeding.format); in btc_a2dp_source_audio_feeding_init()
995 a2dp_source_local_param.btc_aa_src_cb.feeding_mode = p_feeding->feeding_mode; in btc_a2dp_source_audio_feeding_init()
996 a2dp_source_local_param.btc_aa_src_cb.media_feeding = p_feeding->feeding; in btc_a2dp_source_audio_feeding_init()
999 switch (p_feeding->feeding.format) { in btc_a2dp_source_audio_feeding_init()
[all …]
Dbta_av_co.c1444 BOOLEAN bta_av_co_audio_set_codec(const tBTC_AV_MEDIA_FEEDINGS *p_feeding, tBTC_AV_STATUS *p_status) in bta_av_co_audio_set_codec() argument
1454 APPL_TRACE_DEBUG("bta_av_co_audio_set_codec cid=%d", p_feeding->format); in bta_av_co_audio_set_codec()
1457 switch (p_feeding->format) { in bta_av_co_audio_set_codec()
1462 if ((p_feeding->cfg.pcm.num_channel != 1) && in bta_av_co_audio_set_codec()
1463 (p_feeding->cfg.pcm.num_channel != 2)) { in bta_av_co_audio_set_codec()
1467 if ((p_feeding->cfg.pcm.bit_per_sample != 8) && in bta_av_co_audio_set_codec()
1468 (p_feeding->cfg.pcm.bit_per_sample != 16)) { in bta_av_co_audio_set_codec()
1472 switch (p_feeding->cfg.pcm.sampling_freq) { in bta_av_co_audio_set_codec()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/a2dp/include/
Dbtc_av_co.h165 BOOLEAN bta_av_co_audio_set_codec(const tBTC_AV_MEDIA_FEEDINGS *p_feeding, tBTC_AV_STATUS *p_status…