MT2523 API Reference
LinkIt SDK v4
|
Typedefs | |
typedef void(* | hal_audio_stream_out_callback_t) (hal_audio_event_t event, void *user_data) |
This defines the audio stream out callback function prototype. More... | |
typedef void(* | hal_audio_stream_in_callback_t) (hal_audio_event_t event, void *user_data) |
This defines the audio stream in callback function prototype. More... | |
typedef void(* | hal_audio_stream_copy_callback_t) (hal_audio_event_t event, hal_audio_copy_stream_t *user_data) |
This defines the audio stream copy callback function prototype. More... | |
typedef void(* hal_audio_stream_copy_callback_t) (hal_audio_event_t event, hal_audio_copy_stream_t *user_data) |
This defines the audio stream copy callback function prototype.
Register a callback function while audio stream copy path is turned on. For more details about the callback, please refer to hal_audio_register_copied_stream_out_callback().
[in] | event | is the value defined in hal_audio_event_t. This parameter is given by the driver to notify the user about the data flow processing behavior. |
[in] | user_data | is a structure hal_audio_copy_stream_t contain stream out data and related information. |
typedef void(* hal_audio_stream_in_callback_t) (hal_audio_event_t event, void *user_data) |
This defines the audio stream in callback function prototype.
Register a callback function while audio stream in path is turned on. For more details about the callback, please refer to hal_audio_register_stream_in_callback().
[in] | event | is the value defined in hal_audio_event_t. This parameter is given by the driver to notify the user about the data flow processing behavior. |
[in] | user_data | is a user defined parameter provided by hal_audio_register_stream_in_callback() function. |
typedef void(* hal_audio_stream_out_callback_t) (hal_audio_event_t event, void *user_data) |
This defines the audio stream out callback function prototype.
Register a callback function while audio stream out path is turned on. For more details about the callback, please refer to hal_audio_register_stream_out_callback().
[in] | event | is the value defined in hal_audio_event_t. This parameter is given by the driver to notify the user about the data flow processing behavior. |
[in] | user_data | is a user defined parameter provided by hal_audio_register_stream_out_callback() function. |