check return value from vconf
[platform/core/uifw/stt.git] / server / sttd_recorder.h
index f00b8a8..ec51764 100644 (file)
@@ -1,5 +1,5 @@
 /*
-*  Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved 
+*  Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
@@ -15,7 +15,7 @@
 #ifndef __STTD_RECORDER_H__
 #define __STTD_RECORDER_H__
 
-#include "sttp.h"
+#include "stte.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -34,16 +34,19 @@ int sttd_recorder_set_audio_session();
 
 int sttd_recorder_unset_audio_session();
 
-int sttd_recorder_create(int engine_id, int uid, sttp_audio_type_e type, int channel, unsigned int sample_rate);
+int sttd_recorder_create(stte_audio_type_e type, int channel, unsigned int sample_rate);
 
-int sttd_recorder_destroy(int engine_id);
+int sttd_recorder_destroy();
 
-int sttd_recorder_start(int engine_id);
+int sttd_recorder_start(int uid);
 
-int sttd_recorder_stop(int engine_id);
+int sttd_recorder_stop();
 
-int sttd_recorder_set_ignore_session(int engine_id);
+int sttd_recorder_start_file(int uid, const char *filepath);
 
+int sttd_recorder_stop_file();
+
+int sttd_recorder_clear();
 
 #ifdef __cplusplus
 }