Searched refs:p_scbi (Results 1 – 3 of 3) sorted by relevance
841 tBTA_AV_SCB *p_scbi; in bta_av_chk_start() local854 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_start()855 if(p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) in bta_av_chk_start()859 if(p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_chk_start()861 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_start()862 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_chk_start()1052 tBTA_AV_SCB *p_scbi; in bta_av_switch_if_needed() local1059 p_scbi = bta_av_cb.p_scb[i]; in bta_av_switch_if_needed()1060 if( p_scbi && (p_scb->hdi != i) && /* not the original channel */ in bta_av_switch_if_needed()1064 BTM_GetRole(p_scbi->peer_addr, &role); in bta_av_switch_if_needed()[all …]
1118 tBTA_AV_SCB *p_scbi; in bta_av_stream_chg() local1154 p_scbi = bta_av_cb.p_scb[i]; in bta_av_stream_chg()1156 if ( p_scbi && (bta_av_cb.audio_streams & BTA_AV_HNDL_TO_MSK(i)) in bta_av_stream_chg()1157 && bdcmp(p_scbi->peer_addr, p_scb->peer_addr) == 0) in bta_av_stream_chg()1191 tBTA_AV_SCB *p_scbi; in bta_av_conn_chg() local1370 p_scbi = bta_av_cb.p_scb[i]; in bta_av_conn_chg()1371 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) in bta_av_conn_chg()1374 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_conn_chg()1376 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_conn_chg()1377 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_conn_chg()
2981 tBTA_AV_SCB *p_scbi; in bta_av_chk_2nd_start() local2995 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_2nd_start()2996 if(p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) in bta_av_chk_2nd_start()3005 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_chk_2nd_start()3007 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_2nd_start()3008 … 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()