![]() |
MT2523 API Reference
LinkIt SDK v4
|
Data Structures | |
| struct | bt_audio_buffer_t |
| This structure defines the shared buffer structure. More... | |
| struct | _bt_media_handle_t |
| A2DP audio handle structure type. More... | |
| struct | bt_codec_sbc_t |
| This structure defines the SBC codec details. More... | |
| struct | bt_codec_aac_t |
| This structure defines the AAC codec details. More... | |
| union | bt_codec_t |
| This union defines the A2DP codec. More... | |
| struct | bt_codec_capability_t |
| This structure defines the A2DP codec capability. More... | |
| struct | bt_codec_a2dp_audio_t |
| This structure defines the A2DP codec. More... | |
| struct | bt_codec_hfp_audio_t |
| This structure defines the HFP codec. More... | |
| struct | bt_codec_a2dp_data_count_t |
| The A2DP audio codec data count structure. More... | |
| struct | bt_codec_a2dp_bitstream_t |
| The A2DP audio codec bitstream information structure. More... | |
| struct | bt_codec_a2dp_buffer_t |
| The A2DP audio codec buffer information structure. More... | |
Typedefs | |
| typedef int32_t(* | bt_codec_get_data) (volatile uint16_t *buf, uint32_t len) |
| A2DP direct access to DSP buffer function type. More... | |
| typedef int32_t(* | bt_codec_get_data_count) (void) |
| A2DP get data count function type. More... | |
| typedef struct _bt_media_handle_t | bt_media_handle_t |
| A2DP audio handle structure type. More... | |
| typedef void(* | bt_codec_a2dp_callback_t) (bt_media_handle_t *handle, bt_codec_media_event_t event_id) |
| This defines the A2DP codec callback function prototype. More... | |
| typedef void(* | bt_codec_hfp_mix_stream_out_data_callback_t) (bt_codec_media_event_t event, void *user_data) |
| This defines the HFP codec HFP mix stream out callback function prototype. More... | |
| typedef void(* | bt_codec_hfp_get_stream_in_data_callback_t) (bt_codec_media_event_t event, void *user_data) |
| This defines the HFP codec HFP mix stream in callback function prototype. More... | |
| typedef void(* | bt_codec_hfp_get_stream_out_data_callback_t) (bt_codec_media_event_t event, void *user_data) |
| This defines the HFP codec hfp mix stream out callback function prototype. More... | |
| typedef void(* | bt_codec_hfp_customer_enhancement_function_callback_t) (void *user_data) |
| This defines the HFP codec hfp customer enhancement callback function prototype. More... | |
| typedef void(* | bt_codec_hfp_callback_t) (bt_media_handle_t *handle, bt_codec_media_event_t event_id) |
| This defines the HFP codec callback function prototype. More... | |
| typedef void(* bt_codec_a2dp_callback_t) (bt_media_handle_t *handle, bt_codec_media_event_t event_id) |
This defines the A2DP codec callback function prototype.
The user should register a callback function while opening the A2DP codec. Please refer to bt_codec_a2dp_open().
| [in] | handle | is the media handle of the A2DP codec. |
| [in] | event_id | is the value defined in bt_msg_type_t. This parameter is given by the driver to notify the user about the data flow behavior. |
| typedef int32_t(* bt_codec_get_data) (volatile uint16_t *buf, uint32_t len) |
A2DP direct access to DSP buffer function type.
| typedef int32_t(* bt_codec_get_data_count) (void) |
A2DP get data count function type.
| typedef void(* bt_codec_hfp_callback_t) (bt_media_handle_t *handle, bt_codec_media_event_t event_id) |
This defines the HFP codec callback function prototype.
The user should register a callback function while opening the HFP codec. Please refer to bt_codec_hfp_open().
| [in] | handle | is the media handle of the HFP codec. |
| [in] | event_id | is the value defined in bt_msg_type_t. This parameter is given by the driver to notify the user of data flow processing behavior. |
| typedef void(* bt_codec_hfp_customer_enhancement_function_callback_t) (void *user_data) |
This defines the HFP codec hfp customer enhancement callback function prototype.
The user should register a callback function while after opened a HFP codec. Please refer to bt_codec_hfp_open().
| [in] | user_data | is a user defined parameter provided by bt_codec_hfp_customer_enhancement_function_callback_t() function. |
| typedef void(* bt_codec_hfp_get_stream_in_data_callback_t) (bt_codec_media_event_t event, void *user_data) |
This defines the HFP codec HFP mix stream in callback function prototype.
The user should register a callback function while after opened a HFP codec. Please refer to bt_codec_hfp_open().
| [in] | handle | is the media HFP handle of the HFP codec. |
| [in] | user_data | is a user defined parameter provided by bt_codec_hfp_get_stream_in_data_callback_t() function. |
| typedef void(* bt_codec_hfp_get_stream_out_data_callback_t) (bt_codec_media_event_t event, void *user_data) |
This defines the HFP codec hfp mix stream out callback function prototype.
The user should register a callback function while after opened a HFP codec. Please refer to bt_codec_hfp_open().
| [in] | handle | is the media hfp handle of the HFP codec. |
| [in] | user_data | is a user defined parameter provided by bt_codec_hfp_get_stream_out_data_callback_t() function. |
| typedef void(* bt_codec_hfp_mix_stream_out_data_callback_t) (bt_codec_media_event_t event, void *user_data) |
This defines the HFP codec HFP mix stream out callback function prototype.
The user should register a callback function while after opened a HFP codec. Please refer to bt_codec_hfp_open().
| [in] | handle | is the media HFP handle of the HFP codec. |
| [in] | user_data | is a user defined parameter provided by bt_codec_hfp_mix_stream_out_data_callback_t() function. |
| typedef struct _bt_media_handle_t bt_media_handle_t |
A2DP audio handle structure type.