From dc6ca29b724236b8875f86560d69de9d831d8fd2 Mon Sep 17 00:00:00 2001 From: "ky85.kim" Date: Fri, 23 Oct 2015 19:34:13 +0900 Subject: [PATCH] Fix file path for multi user Change-Id: I08af0ef1ff785cf108276c1ffd95dd9cfd616eae --- common/stt_defs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/stt_defs.h b/common/stt_defs.h index 7baa96a..e5f7a15 100644 --- a/common/stt_defs.h +++ b/common/stt_defs.h @@ -15,6 +15,8 @@ #ifndef __STT_DEFS_H__ #define __STT_DEFS_H__ +#include + #ifdef __cplusplus extern "C" { #endif @@ -67,13 +69,13 @@ extern "C" { #define STT_AUDIO_VOLUME_PATH "/tmp/stt_vol" -#define STT_TIME_INFO_PATH "/opt/home/app/.voice/stt-time.xml" +#define STT_TIME_INFO_PATH tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt-time.xml") #define STT_USR_BASE "/usr/lib/voice" #define STT_OPT_BASE "/opt/usr/data/voice" #define STT_DEFAULT_CONFIG STT_USR_BASE"/stt/1.0/stt-config.xml" -#define STT_CONFIG "/opt/home/app/.voice/stt-config.xml" +#define STT_CONFIG tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt-config.xml") #define STT_DEFAULT_ENGINE STT_USR_BASE"/stt/1.0/engine" #define STT_DOWNLOAD_ENGINE STT_OPT_BASE"/stt/1.0/engine" -- 2.7.4