Change sound stream api
[platform/core/uifw/stt.git] / server / sttd_recorder.c
old mode 100755 (executable)
new mode 100644 (file)
index 5172110..6b19499
@@ -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");
                }