MT2523 API Reference  LinkIt SDK v4
Typedef

Overview

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 Documentation

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().

Parameters
[in]eventis 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_datais 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().

Parameters
[in]eventis 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_datais a user defined parameter provided by hal_audio_register_stream_out_callback() function.