From f15bdb6227899d8a91d5ea3edb5c94da7bad31c5 Mon Sep 17 00:00:00 2001 From: "wn.jang" Date: Fri, 17 Jan 2020 17:25:11 +0900 Subject: [PATCH] Add to stop recording from FFV Change-Id: I4fa1885689bbc690532f21070df10428c96da631 --- server/sttd_recorder.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/sttd_recorder.c b/server/sttd_recorder.c index ab4d3b0..4452096 100644 --- a/server/sttd_recorder.c +++ b/server/sttd_recorder.c @@ -731,6 +731,13 @@ int sttd_recorder_stop() } #endif +#ifdef TV_FFV_MODE + ret = farfield_voice_set_recognition_state(FARFIELD_VOICE_RECOGNITION_STOP); + if (0 != ret) { + SLOG(LOG_ERROR, TAG_STTD, "[Recorder ERROR] Fail to stop FFV, ret(%d)", ret); + } +#endif + g_recorder_state = STTD_RECORDER_STATE_READY; #ifdef BUF_SAVE_MODE -- 2.7.4