Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/bta/av/
Dbta_av_main.c843 tBTA_AV_SCB *p_scbi; in bta_av_chk_start() local
853 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_start()
854 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_chk_start()
857 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_chk_start()
858 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_start()
859 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_chk_start()
1035 tBTA_AV_SCB *p_scbi; in bta_av_switch_if_needed() local
1041 p_scbi = bta_av_cb.p_scb[i]; in bta_av_switch_if_needed()
1042 if ( p_scbi && (p_scb->hdi != i) && /* not the original channel */ in bta_av_switch_if_needed()
1045 BTM_GetRole(p_scbi->peer_addr, &role); in bta_av_switch_if_needed()
[all …]
Dbta_av_act.c1014 tBTA_AV_SCB *p_scbi; in bta_av_stream_chg() local
1043 p_scbi = bta_av_cb.p_scb[i]; in bta_av_stream_chg()
1045 if ( p_scbi && (bta_av_cb.audio_streams & BTA_AV_HNDL_TO_MSK(i)) in bta_av_stream_chg()
1046 && bdcmp(p_scbi->peer_addr, p_scb->peer_addr) == 0) { in bta_av_stream_chg()
1079 tBTA_AV_SCB *p_scbi; in bta_av_conn_chg() local
1235 p_scbi = bta_av_cb.p_scb[i]; in bta_av_conn_chg()
1236 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_conn_chg()
1238 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_conn_chg()
1239 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_conn_chg()
1240 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_conn_chg()
Dbta_av_aact.c2881 tBTA_AV_SCB *p_scbi; in bta_av_chk_2nd_start() local
2892 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_2nd_start()
2893 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_chk_2nd_start()
2900 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_chk_2nd_start()
2901 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_2nd_start()
2902 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_chk_2nd_start()