diff options
Diffstat (limited to 'bta/include/bta_av_co.h')
-rw-r--r-- | bta/include/bta_av_co.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/bta/include/bta_av_co.h b/bta/include/bta_av_co.h index f2fa83b..4e4c735 100644 --- a/bta/include/bta_av_co.h +++ b/bta/include/bta_av_co.h @@ -66,8 +66,8 @@ typedef struct ** Description This callout function is executed by AV when it is ** started by calling BTA_AvEnable(). This function can be ** used by the phone to initialize audio paths or for other -** initialization purposes. -** +** initialization purposes. +** ** ** Returns Stream codec and content protection capabilities info. ** @@ -82,7 +82,7 @@ BTA_API extern BOOLEAN bta_av_co_audio_init(UINT8 *p_codec_type, UINT8 *p_codec_ ** Description This callout function is executed by AV to report the ** number of stream end points (SEP) were found during the ** AVDT stream discovery process. -** +** ** ** Returns void. ** @@ -97,7 +97,7 @@ BTA_API extern void bta_av_co_audio_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, ** Description This callout function is executed by AV to report the ** number of stream end points (SEP) were found during the ** AVDT stream discovery process. -** +** ** ** Returns void. ** @@ -112,7 +112,7 @@ BTA_API extern void bta_av_co_video_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, ** Description This callout function is executed by AV to retrieve the ** desired codec and content protection configuration for the ** audio stream. -** +** ** ** Returns Stream codec and content protection configuration info. ** @@ -128,7 +128,7 @@ BTA_API extern UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC ** Description This callout function is executed by AV to retrieve the ** desired codec and content protection configuration for the ** video stream. -** +** ** ** Returns Stream codec and content protection configuration info. ** @@ -142,10 +142,10 @@ BTA_API extern UINT8 bta_av_co_video_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC ** Function bta_av_co_audio_setconfig ** ** Description This callout function is executed by AV to set the -** codec and content protection configuration of the audio stream. -** +** codec and content protection configuration of the audio stream. ** -** Returns void +** +** Returns void ** *******************************************************************************/ BTA_API extern void bta_av_co_audio_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, @@ -157,10 +157,10 @@ BTA_API extern void bta_av_co_audio_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC c ** Function bta_av_co_video_setconfig ** ** Description This callout function is executed by AV to set the -** codec and content protection configuration of the video stream. -** +** codec and content protection configuration of the video stream. ** -** Returns void +** +** Returns void ** *******************************************************************************/ BTA_API extern void bta_av_co_video_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, @@ -180,8 +180,8 @@ BTA_API extern void bta_av_co_video_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC c ** Returns void ** *******************************************************************************/ -BTA_API extern void bta_av_co_audio_open(tBTA_AV_HNDL hndl, - tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, +BTA_API extern void bta_av_co_audio_open(tBTA_AV_HNDL hndl, + tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, UINT16 mtu); /******************************************************************************* @@ -190,13 +190,13 @@ BTA_API extern void bta_av_co_audio_open(tBTA_AV_HNDL hndl, ** ** Description This function is called by AV when the video stream connection ** is opened. -** +** ** ** Returns void ** *******************************************************************************/ -BTA_API extern void bta_av_co_video_open(tBTA_AV_HNDL hndl, - tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, +BTA_API extern void bta_av_co_video_open(tBTA_AV_HNDL hndl, + tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, UINT16 mtu); /******************************************************************************* @@ -222,7 +222,7 @@ BTA_API extern void bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec ** ** Description This function is called by AV when the video stream connection ** is closed. -** +** ** ** Returns void ** @@ -236,7 +236,7 @@ BTA_API extern void bta_av_co_video_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec ** ** Description This function is called by AV when the audio streaming data ** transfer is started. -** +** ** ** Returns void ** @@ -250,7 +250,7 @@ BTA_API extern void bta_av_co_audio_start(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec ** ** Description This function is called by AV when the video streaming data ** transfer is started. -** +** ** ** Returns void ** @@ -264,7 +264,7 @@ BTA_API extern void bta_av_co_video_start(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec ** ** Description This function is called by AV when the audio streaming data ** transfer is stopped. -** +** ** ** Returns void ** @@ -277,7 +277,7 @@ BTA_API extern void bta_av_co_audio_stop(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_ ** ** Description This function is called by AV when the video streaming data ** transfer is stopped. -** +** ** ** Returns void ** @@ -303,7 +303,7 @@ BTA_API extern void * bta_av_co_audio_src_data_path(tBTA_AV_CODEC codec_type, ** Function bta_av_co_video_src_data_path ** ** Description This function is called to get the next data buffer from -** the video codec. +** the video codec. ** ** Returns NULL if data is not ready. ** Otherwise, a video data buffer (UINT8*). @@ -316,7 +316,7 @@ BTA_API extern void * bta_av_co_video_src_data_path(tBTA_AV_CODEC codec_type, ** ** Function bta_av_co_audio_drop ** -** Description An Audio packet is dropped. . +** Description An Audio packet is dropped. . ** It's very likely that the connected headset with this handle ** is moved far away. The implementation may want to reduce ** the encoder bit rate setting to reduce the packet size. @@ -356,7 +356,7 @@ BTA_API extern void bta_av_co_video_report_rr (UINT32 packet_lost); ** ** Description This function is called by AV when the audio stream connection ** needs to send the initial delay report to the connected SRC. -** +** ** ** Returns void ** @@ -369,7 +369,7 @@ BTA_API extern void bta_av_co_audio_delay(tBTA_AV_HNDL hndl, UINT16 delay); ** ** Description This function is called by AV when the video stream connection ** needs to send the initial delay report to the connected SRC. -** +** ** ** Returns void ** |