Change type to 'unsigned char' 06/231006/1
authorwn.jang <wn.jang@samsung.com>
Thu, 16 Apr 2020 12:23:11 +0000 (21:23 +0900)
committerwn.jang <wn.jang@samsung.com>
Thu, 16 Apr 2020 12:23:11 +0000 (21:23 +0900)
Change-Id: Iaaf52f5cf85fcdd927524c61c951320f285abd44

client/vc_mgr.c
client/vc_mgr_dbus.c
client/vc_mgr_dbus.h
include/voice_control_manager_internal.h

index 40e5d15fabaa6ae6718147b83d5158ff0e346fb2..7acde3c3679bb931d775eff0e988a37a39b817ca 100755 (executable)
@@ -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);
 
index 7eb61e80307fabd395686d32476a7cb1d4e641d7..f9a54933a489b433eaeaf95f30c8a4c2336645cd 100755 (executable)
@@ -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;
index 0b3d87cb6141994c137f494753acb6fb36848b89..7d706f1ed23d0ff3edba68d319d8bd76d650b5f3 100644 (file)
@@ -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);
 
index 4d6cc27428e837b54850f58c78d1d78d6b165740..627f025cb1d999ea5c86a1cf6cfe6537f74d10fa 100644 (file)
@@ -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);