diff --git a/solutions/tflite_micro_speech_demo/player/player.c b/solutions/tflite_micro_speech_demo/player/player.c index 15837bca3b..085ec0ca95 100644 --- a/solutions/tflite_micro_speech_demo/player/player.c +++ b/solutions/tflite_micro_speech_demo/player/player.c @@ -134,6 +134,7 @@ int32_t player_stop(void) uvocplayer->stop_async(); uvocplayer->clr_source(); + return 0; } @@ -145,8 +146,11 @@ int32_t player_wait_complete(void) if (ret < 0) aos_msleep(1000); aos_msleep(500); + + return 0; } + int32_t player_init(player_cb_t cb) { int32_t ret;