1 /******************************************************************************
3 * Copyright (C) 2005-2012 Broadcom Corporation
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at:
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 ******************************************************************************/
19 /******************************************************************************
21 * This is the interface file for advanced audio/video call-in functions.
23 ******************************************************************************/
27 #include "bta_av_api.h"
29 /*****************************************************************************
30 ** Function Declarations
31 *****************************************************************************/
37 /*******************************************************************************
39 ** Function bta_av_ci_src_data_ready
41 ** Description This function sends an event to the AV indicating that
42 ** the phone has audio stream data ready to send and AV
43 ** should call bta_av_co_audio_src_data_path() or
44 ** bta_av_co_video_src_data_path().
48 *******************************************************************************/
49 extern void bta_av_ci_src_data_ready(tBTA_AV_CHNL chnl);
51 /*******************************************************************************
53 ** Function bta_av_ci_setconfig
55 ** Description This function must be called in response to function
56 ** bta_av_co_audio_setconfig() or bta_av_co_video_setconfig.
57 ** Parameter err_code is set to an AVDTP status value;
58 ** AVDT_SUCCESS if the codec configuration is ok,
63 *******************************************************************************/
64 extern void bta_av_ci_setconfig(tBTA_AV_HNDL hndl, UINT8 err_code,
65 UINT8 category, UINT8 num_seid, UINT8 *p_seid,
66 BOOLEAN recfg_needed, UINT8 avdt_handle);
73 #endif /* BTA_AV_CI_H */