fixup! Add testcase for SOUND_STREAM_TYPE_VOICE_INFORMATION 88/209688/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.030525 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065236 accepted/tizen/unified/20190712.115326 submit/tizen/20190710.235643 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
authorSeungbae Shin <seungbae.shin@samsung.com>
Wed, 10 Jul 2019 04:49:42 +0000 (13:49 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Wed, 10 Jul 2019 04:49:56 +0000 (13:49 +0900)
[Version] 0.2.5
[Issue Type] Test suite

Change-Id: Idc9dc248b5ff84a7f173ce1d1845c5693d08bcdd

packaging/capi-media-wav-player.spec
test/wav_player_test.c

index 9f68975..865d040 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-wav-player
 Summary:    A wav player library in Tizen C API
-Version:    0.2.4
+Version:    0.2.5
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 668ffda..c8f9471 100644 (file)
@@ -63,7 +63,7 @@ void wav_play_test(const char* file_path, int iterate, int stream_type)
        sound_stream_info_h stream_info;
        sound_stream_type_e type;
 
-       if (iterate <= 0 || file_path == NULL || (stream_type > 3 || stream_type < 0)) {
+       if (iterate <= 0 || file_path == NULL || (stream_type > 4 || stream_type < 0)) {
                printf("invalid param, iterate(%d), file_path(%s), stream_type(%d)\n", iterate, file_path, stream_type);
                return;
        }