MAS_WAKEUP_ENGINE_COMMAND_TARGET_DEPENDENCY_MODULE, /**< Dependency module - name not required */
} mas_wakeup_engine_command_target_e;
-typedef void (*mas_error_cb)(int error, const char* err_msg, void* user_data);
-
-typedef int (*mas_dependency_plugin_proxy_process_event)(mas_plugin_event_e event, void* data, int len);
-typedef int (*mas_dependency_plugin_proxy_feed_audio_data)(mas_speech_streaming_event_e event, void* buffer, int len);
-typedef int (*mas_dependency_plugin_proxy_send_command)(const char* engine_name, const char* command);
-
-typedef struct {
- mas_dependency_plugin_proxy_process_event process_event;
- mas_dependency_plugin_proxy_feed_audio_data feed_audio_data;
- /* mas_dependency_plugin_proxy_send_command send_command; */ /* Will be added */
-} mas_dependency_plugin_proxy_interface;
-
typedef struct {
const char *wakeup_appid;
const char *wakeup_word;
int len;
} mas_speech_data;
+typedef void (*mas_error_cb)(int error, const char* err_msg, void* user_data);
+
+typedef int (*mas_dependency_plugin_proxy_process_event)(mas_plugin_event_e event, void* data, int len);
+typedef int (*mas_dependency_plugin_proxy_feed_audio_data)(mas_speech_streaming_event_e event, void* buffer, int len);
+typedef int (*mas_dependency_plugin_proxy_send_command)(const char* engine_name, const char* command);
+typedef int (*mas_dependency_plugin_proxy_wakeup_assistant)(const mas_wakeup_event_info* info);
+
+typedef struct {
+ mas_dependency_plugin_proxy_process_event process_event;
+ mas_dependency_plugin_proxy_feed_audio_data feed_audio_data;
+ mas_dependency_plugin_proxy_send_command send_command;
+ mas_dependency_plugin_proxy_wakeup_assistant wakeup_assistant;
+} mas_dependency_plugin_proxy_interface;
+
#ifdef __cplusplus
}
#endif