Fix SVACE defects 06/111706/1 accepted/tizen/3.0/common/20170125.121759 accepted/tizen/3.0/ivi/20170125.084001 accepted/tizen/3.0/mobile/20170125.083906 accepted/tizen/3.0/tv/20170125.083928 accepted/tizen/3.0/wearable/20170125.083950 submit/tizen_3.0/20170124.120400
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 23 Jan 2017 12:58:25 +0000 (21:58 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 23 Jan 2017 12:58:25 +0000 (21:58 +0900)
[Version] 0.3.58
[Profile] Common
[Issue Type] SVACE

Change-Id: I20ae633c2d888e735bb286800860512ef7416679

packaging/capi-media-audio-io.spec
test/audio_io_test.c

index c4ac976..9134c1f 100644 (file)
@@ -1,6 +1,6 @@
 Name:           capi-media-audio-io
 Summary:        An Audio Input & Audio Output library in Tizen Native API
-Version:        0.3.57
+Version:        0.3.58
 Release:        0
 Group:          Multimedia/API
 License:        Apache-2.0
index 02737cf..70899d3 100644 (file)
@@ -563,9 +563,10 @@ int audio_io_async_test(int mode)
 
        do {
                printf("command(q:quit) : ");
-               cmd = getchar();
-               if (cmd == EOF)
+               ret = getchar();
+               if (ret == EOF)
                        goto EXIT;
+               cmd = (char)ret;
                if (cmd != '\n')
                        getchar();
                cmd_ret = _convert_cmd_and_run(cmd, mode);