Change sound stream api
[platform/core/uifw/tts.git] / server / ttsd_player.c
index 11b5158..06c2ca5 100644 (file)
@@ -204,7 +204,7 @@ static void __set_policy_for_playing(int volume)
                        SLOG(LOG_WARN, tts_tag(), "[Player WARNING] Fail to acquire focus");
                }
        }
-       ret = audio_out_set_stream_info(g_audio_h, g_stream_info_h);
+       ret = audio_out_set_sound_stream_info(g_audio_h, g_stream_info_h);
        if (AUDIO_IO_ERROR_NONE != ret) {
                SLOG(LOG_WARN, tts_tag(), "[Player WARNING] Fail to set stream info");
        }