bta_av_ci.h revision cc914cffd521b2e6e1be804c82aea2388b843ebf
1/***************************************************************************** 2** 3** Name: bta_av_ci.h 4** 5** Description: This is the interface file for advanced audio/video call-in 6** functions. 7** 8** Copyright (c) 2005, Widcomm Inc., All Rights Reserved. 9** Widcomm Bluetooth Core. Proprietary and confidential. 10** 11*****************************************************************************/ 12#ifndef BTA_AV_CI_H 13#define BTA_AV_CI_H 14 15#include "bta_av_api.h" 16 17/***************************************************************************** 18** Function Declarations 19*****************************************************************************/ 20#ifdef __cplusplus 21extern "C" 22{ 23#endif 24 25/******************************************************************************* 26** 27** Function bta_av_ci_src_data_ready 28** 29** Description This function sends an event to the AV indicating that 30** the phone has audio stream data ready to send and AV 31** should call bta_av_co_audio_src_data_path() or 32** bta_av_co_video_src_data_path(). 33** 34** Returns void 35** 36*******************************************************************************/ 37BTA_API extern void bta_av_ci_src_data_ready(tBTA_AV_CHNL chnl); 38 39/******************************************************************************* 40** 41** Function bta_av_ci_setconfig 42** 43** Description This function must be called in response to function 44** bta_av_co_audio_setconfig() or bta_av_co_video_setconfig. 45** Parameter err_code is set to an AVDTP status value; 46** AVDT_SUCCESS if the codec configuration is ok, 47** otherwise error. 48** 49** Returns void 50** 51*******************************************************************************/ 52BTA_API extern void bta_av_ci_setconfig(tBTA_AV_HNDL hndl, UINT8 err_code, 53 UINT8 category, UINT8 num_seid, UINT8 *p_seid, 54 BOOLEAN recfg_needed); 55 56 57#ifdef __cplusplus 58} 59#endif 60 61#endif /* BTA_AV_CI_H */ 62 63