From: sooyeon.kim Date: Wed, 2 Nov 2016 02:30:21 +0000 (+0900) Subject: Add descriptions for ACR and Fix dbus arg type X-Git-Tag: accepted/tizen/common/20161102.122155^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24f4be008ab25b1a66b6a624aad8a0dfcc6df9c6;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Add descriptions for ACR and Fix dbus arg type Change-Id: I4749000ab5aea52f18096344ffab682a80bb4b3b Signed-off-by: sooyeon.kim --- diff --git a/client/vc_mgr_dbus.c b/client/vc_mgr_dbus.c index a4339cb..9c70c07 100644 --- a/client/vc_mgr_dbus.c +++ b/client/vc_mgr_dbus.c @@ -221,7 +221,7 @@ static Eina_Bool vc_mgr_listener_event_callback(void* data, Ecore_Fd_Handler *fd } SLOG(LOG_DEBUG, TAG_VCM, "<<<< foreground changed : pid(%d) value(%s)", pid, value ? "true" : "false"); - + __vc_mgr_cb_set_foreground(pid, (bool)value); SLOG(LOG_DEBUG, TAG_VCM, "====="); SLOG(LOG_DEBUG, TAG_VCM, " "); @@ -1595,8 +1595,8 @@ int vc_mgr_dbus_request_start(int pid, int recognition_mode, bool exclusive_comm pid, recognition_mode, exclusive_command_option, start_by_client); } - int exclusive = exclusive_command_option; - int by = start_by_client; + int exclusive = (int)exclusive_command_option; + int by = (int)start_by_client; dbus_message_append_args(msg, DBUS_TYPE_INT32, &pid, diff --git a/include/voice_control_common.h b/include/voice_control_common.h index d8d4043..7352104 100644 --- a/include/voice_control_common.h +++ b/include/voice_control_common.h @@ -51,9 +51,9 @@ typedef enum { VC_ERROR_ITERATION_END = TIZEN_ERROR_VOICE_CONTROL | 0x016, /**< List reached end */ VC_ERROR_EMPTY = TIZEN_ERROR_VOICE_CONTROL | 0x017, /**< List empty */ VC_ERROR_SERVICE_RESET = TIZEN_ERROR_VOICE_CONTROL | 0x018, /**< Service daemon reset @if MOBILE (Since 3.0) @endif */ - VC_ERROR_IN_PROGRESS_TO_READY = TIZEN_ERROR_VOICE_CONTROL | 0x019, - VC_ERROR_IN_PROGRESS_TO_RECORDING = TIZEN_ERROR_VOICE_CONTROL | 0x020, - VC_ERROR_IN_PROGRESS_TO_PROCESSING = TIZEN_ERROR_VOICE_CONTROL | 0x021 + VC_ERROR_IN_PROGRESS_TO_READY = TIZEN_ERROR_VOICE_CONTROL | 0x019, /**< In process to ready @if MOBILE (Since 3.0) @endif */ + VC_ERROR_IN_PROGRESS_TO_RECORDING = TIZEN_ERROR_VOICE_CONTROL | 0x020, /**< In process to recording @if MOBILE (Since 3.0) @endif */ + VC_ERROR_IN_PROGRESS_TO_PROCESSING = TIZEN_ERROR_VOICE_CONTROL | 0x021 /**< In process to processing @if MOBILE (Since 3.0) @endif */ } vc_error_e; /**