From e8535fab6d2e44665cbcda01c43d58a02baf1dae Mon Sep 17 00:00:00 2001 From: "wn.jang" Date: Thu, 16 Apr 2020 21:23:11 +0900 Subject: [PATCH] Change type to 'unsigned char' Change-Id: Iaaf52f5cf85fcdd927524c61c951320f285abd44 --- client/vc_mgr.c | 2 +- client/vc_mgr_dbus.c | 2 +- client/vc_mgr_dbus.h | 2 +- include/voice_control_manager_internal.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/vc_mgr.c b/client/vc_mgr.c index 40e5d15..7acde3c 100755 --- a/client/vc_mgr.c +++ b/client/vc_mgr.c @@ -4429,7 +4429,7 @@ static float __get_volume_decibel(char* data, int size) return db; } -int vc_mgr_send_audio_streaming(vc_audio_streaming_event_e event, char* buffer, unsigned int len) +int vc_mgr_send_audio_streaming(vc_audio_streaming_event_e event, unsigned char* buffer, unsigned int len) { SLOG(LOG_INFO, TAG_VCM, "[Manager] Send audio streaming to the engine service, event(%d)", event); diff --git a/client/vc_mgr_dbus.c b/client/vc_mgr_dbus.c index 7eb61e8..f9a5493 100755 --- a/client/vc_mgr_dbus.c +++ b/client/vc_mgr_dbus.c @@ -2306,7 +2306,7 @@ int vc_mgr_dbus_send_utterance_status(int pid, int utt_id, vc_tts_utterance_stat return 0; } -int vc_mgr_dbus_send_audio_streaming(int pid, vc_audio_streaming_event_e event, char* buffer, unsigned int len) +int vc_mgr_dbus_send_audio_streaming(int pid, vc_audio_streaming_event_e event, unsigned char* buffer, unsigned int len) { if (0 != __dbus_check()) { return VC_ERROR_OPERATION_FAILED; diff --git a/client/vc_mgr_dbus.h b/client/vc_mgr_dbus.h index 0b3d87c..7d706f1 100644 --- a/client/vc_mgr_dbus.h +++ b/client/vc_mgr_dbus.h @@ -74,7 +74,7 @@ int vc_mgr_dbus_request_stop_feedback(int pid); int vc_mgr_dbus_send_utterance_status(int pid, int utt_id, vc_tts_utterance_status_e utt_status); -int vc_mgr_dbus_send_audio_streaming(int pid, vc_audio_streaming_event_e event, char* buffer, unsigned int len); +int vc_mgr_dbus_send_audio_streaming(int pid, vc_audio_streaming_event_e event, unsigned char* buffer, unsigned int len); int vc_mgr_dbus_change_system_volume(int pid, vc_system_volume_event_e volume_event); diff --git a/include/voice_control_manager_internal.h b/include/voice_control_manager_internal.h index 4d6cc27..627f025 100644 --- a/include/voice_control_manager_internal.h +++ b/include/voice_control_manager_internal.h @@ -103,7 +103,7 @@ int vc_mgr_set_domain(const char* domain); * @since_tizen 5.0 * */ -int vc_mgr_send_audio_streaming(vc_audio_streaming_event_e event, char* buffer, unsigned int len); +int vc_mgr_send_audio_streaming(vc_audio_streaming_event_e event, unsigned char* buffer, unsigned int len); int vc_mgr_set_audio_streaming_mode(vc_audio_streaming_mode_e streaming_mode); -- 2.7.4