Change set_stream_info API name for consistency with other pkgs
[platform/core/api/audio-io.git] / test / audio_io_test.c
index 08c800a..b1926a3 100644 (file)
@@ -460,9 +460,9 @@ int audio_io_async_test(int mode)
                        printf("fail to sound_manager_create_stream_information(), ret(0x%x)\n", ret);
                        goto EXIT;
                }
-               ret = audio_in_set_stream_info(input, g_stream_info_read_h);
+               ret = audio_in_set_sound_stream_info(input, g_stream_info_read_h);
                if (ret)
-                       printf("fail to audio_in_set_stream_info(), ret(0x%x)\n", ret);
+                       printf("fail to audio_in_set_sound_stream_info(), ret(0x%x)\n", ret);
 
                ret = sound_manager_acquire_focus(g_stream_info_read_h, SOUND_STREAM_FOCUS_FOR_RECORDING, SOUND_BEHAVIOR_NONE, NULL);
                if (ret) {
@@ -504,9 +504,9 @@ int audio_io_async_test(int mode)
                        printf("fail to sound_manager_create_stream_information(), ret(0x%x)\n", ret);
                        goto EXIT;
                }
-               ret = audio_out_set_stream_info(output, g_stream_info_write_h);
+               ret = audio_out_set_sound_stream_info(output, g_stream_info_write_h);
                if (ret)
-                       printf("fail to audio_out_set_stream_info(), ret(0x%x)\n", ret);
+                       printf("fail to audio_out_set_sound_stream_info(), ret(0x%x)\n", ret);
 
                ret = sound_manager_acquire_focus(g_stream_info_write_h, SOUND_STREAM_FOCUS_FOR_PLAYBACK, SOUND_BEHAVIOR_NONE, NULL);
                if (ret) {