From: Sangchul Lee Date: Wed, 7 Aug 2019 07:32:39 +0000 (+0900) Subject: sound_manager_test: Exclude a test case for compiling with TIZEN_FEATURE_TV_PROD X-Git-Tag: submit/tizen/20190807.082039^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32ad81464fb3b2f07e6f65361b82487e45fd0091;p=platform%2Fcore%2Fapi%2Fsound-manager.git sound_manager_test: Exclude a test case for compiling with TIZEN_FEATURE_TV_PROD sound_manager_set_virtual_stream_volume() test case is excluded. [Version] 0.5.35 [Issue Type] Testsuite Change-Id: I4d6cf7b4995a648b8566a926ab2b6bb922b9fd0d Signed-off-by: Sangchul Lee --- diff --git a/packaging/capi-media-sound-manager.spec b/packaging/capi-media-sound-manager.spec index d961b12..8257c2e 100644 --- a/packaging/capi-media-sound-manager.spec +++ b/packaging/capi-media-sound-manager.spec @@ -1,6 +1,6 @@ Name: capi-media-sound-manager Summary: Sound Manager library -Version: 0.5.34 +Version: 0.5.35 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/test/sound_manager_test.c b/test/sound_manager_test.c index 40c2f8e..c3c4776 100644 --- a/test/sound_manager_test.c +++ b/test/sound_manager_test.c @@ -89,7 +89,9 @@ enum { CURRENT_STATUS_START_VIRTUAL_STREAM, CURRENT_STATUS_STOP_VIRTUAL_STREAM, CURRENT_STATUS_DESTROY_VIRTUAL_STREAM, +#ifndef TIZEN_FEATURE_TV_PROD CURRENT_STATUS_SET_VIRTUAL_STREAM_VOLUME, +#endif CURRENT_STATUS_SET_FILTER, CURRENT_STATUS_SET_FILTER_PRESET, CURRENT_STATUS_UNSET_FILTER, @@ -320,8 +322,10 @@ void _interpret_main_menu(char *cmd) g_menu_state = CURRENT_STATUS_STOP_VIRTUAL_STREAM; else if (strncmp(cmd, "vdt", MAX_CMD_LEN) == 0) g_menu_state = CURRENT_STATUS_DESTROY_VIRTUAL_STREAM; +#ifndef TIZEN_FEATURE_TV_PROD else if (strncmp(cmd, "vsv", MAX_CMD_LEN) == 0) g_menu_state = CURRENT_STATUS_SET_VIRTUAL_STREAM_VOLUME; +#endif else if (strncmp(cmd, "sft", MAX_CMD_LEN) == 0) g_menu_state = CURRENT_STATUS_SET_FILTER; else if (strncmp(cmd, "sfp", MAX_CMD_LEN) == 0) @@ -438,7 +442,9 @@ void display_sub_basic() g_print("sso. *Set option for stream routing\n"); g_print("vcr. *Create VStream\t"); g_print("vsr. *Start VStream\t"); +#ifndef TIZEN_FEATURE_TV_PROD g_print("vsv. *Set VStream Volume\n"); +#endif g_print("vdt. *Destroy VStream\t"); g_print("vst. *Stop VStream\n"); g_print("sft. *Set Filter\t"); @@ -580,8 +586,10 @@ static void displaymenu() g_print("*** press enter to stop virtual stream\n"); else if (g_menu_state == CURRENT_STATUS_DESTROY_VIRTUAL_STREAM) g_print("*** press enter to destroy virtual stream\n"); +#ifndef TIZEN_FEATURE_TV_PROD else if (g_menu_state == CURRENT_STATUS_SET_VIRTUAL_STREAM_VOLUME) g_print("*** input volume ratio of virtual stream (Min:0.0 ~ Max:1.0)\n"); +#endif else if (g_menu_state == CURRENT_STATUS_SET_FILTER) g_print("*** input filter type of media stream (0:LOW_PASS 1:HIGH_PASS 2:DELAY 3:SOUNDALIVE)\n"); else if (g_menu_state == CURRENT_STATUS_SET_FILTER_PRESET) @@ -2113,6 +2121,7 @@ static void interpret(char *cmd) reset_menu_state(); break; } +#ifndef TIZEN_FEATURE_TV_PROD case CURRENT_STATUS_SET_VIRTUAL_STREAM_VOLUME: { int ret = SOUND_MANAGER_ERROR_NONE; double ratio = 1.0; @@ -2129,6 +2138,7 @@ static void interpret(char *cmd) reset_menu_state(); break; } +#endif case CURRENT_STATUS_SET_FILTER: { int ret = SOUND_MANAGER_ERROR_NONE; sound_filter_e filter;