bta_av_ci.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /******************************************************************************
  2. *
  3. * Copyright 2005-2012 Broadcom Corporation
  4. *
  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:
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  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.
  16. *
  17. ******************************************************************************/
  18. /******************************************************************************
  19. *
  20. * This is the interface file for advanced audio/video call-in functions.
  21. *
  22. ******************************************************************************/
  23. #ifndef BTA_AV_CI_H
  24. #define BTA_AV_CI_H
  25. #include "bta_av_api.h"
  26. /*****************************************************************************
  27. * Function Declarations
  28. ****************************************************************************/
  29. /*******************************************************************************
  30. *
  31. * Function bta_av_ci_src_data_ready
  32. *
  33. * Description This function sends an event to the AV indicating that
  34. * the phone has audio stream data ready to send and AV
  35. * should call bta_av_co_audio_source_data_path().
  36. *
  37. * Returns void
  38. *
  39. ******************************************************************************/
  40. extern void bta_av_ci_src_data_ready(tBTA_AV_CHNL chnl);
  41. /*******************************************************************************
  42. *
  43. * Function bta_av_ci_setconfig
  44. *
  45. * Description This function must be called in response to function
  46. * bta_av_co_audio_setconfig().
  47. * Parameter err_code is set to an AVDTP status value;
  48. * AVDT_SUCCESS if the codec configuration is ok,
  49. * otherwise error.
  50. *
  51. * Returns void
  52. *
  53. ******************************************************************************/
  54. extern void bta_av_ci_setconfig(tBTA_AV_HNDL bta_av_handle, uint8_t err_code,
  55. uint8_t category, uint8_t num_seid,
  56. uint8_t* p_seid, bool recfg_needed,
  57. uint8_t avdt_handle);
  58. #endif /* BTA_AV_CI_H */