Add to stop recording from FFV
[platform/core/uifw/stt.git] / server / sttd_recorder.c
index ab4d3b0..4452096 100644 (file)
@@ -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