From: Kwangyoun Kim Date: Wed, 21 Dec 2016 05:07:17 +0000 (+0900) Subject: Change sound stream api X-Git-Tag: accepted/tizen/common/20161222.131358^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F106279%2F1;p=platform%2Fcore%2Fuifw%2Fstt.git Change sound stream api Change-Id: I1ab134920d9f0951913965bc214a1e242e16fc95 (cherry picked from commit c52603160fb03a60e4edbf35eb1e91c73d07af57) --- diff --git a/server/sttd_recorder.c b/server/sttd_recorder.c old mode 100755 new mode 100644 index 5172110..6b19499 --- a/server/sttd_recorder.c +++ b/server/sttd_recorder.c @@ -513,7 +513,7 @@ int sttd_recorder_start(int uid) if (SOUND_MANAGER_ERROR_NONE != ret) { SLOG(LOG_ERROR, TAG_STTD, "[Recorder ERROR] Fail to acquire focus : %d", ret); } else { - ret = audio_in_set_stream_info(g_recorder->audio_h, g_stream_info_h); + ret = audio_in_set_sound_stream_info(g_recorder->audio_h, g_stream_info_h); if (AUDIO_IO_ERROR_NONE != ret) { SLOG(LOG_ERROR, TAG_STTD, "[Recorder ERROR] Fail to set stream info"); }