Change-Id: Ic17b9e6938dc62f93d84604bd3383e8cb1bef0f1
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
#include <app_common.h>
#include <app.h>
#include <media_content.h>
-#include <dlog.h>
+#include "Debug.h"
#include <storage.h>
#include "voice-recorder.h"
}
SECURE_LOGD("result_text = %s", result_text.c_str());
+ stop_voice_recorder();
char *filePath = NULL;
voice_recorder *vr = _voice_recorder_get_data();
- if (!vr)
+ if (vr)
filePath = vr->file_path;
+
char *path[] = {filePath, };
reply_to_sender_by_callback(result_text.c_str(), "voice", (const char **)path, NULL);
destroy_voice();