diff options
author | Jaechul Lee <jcsing.lee@samsung.com> | 2021-04-26 16:37:30 +0900 |
---|---|---|
committer | Jaechul Lee <jcsing.lee@samsung.com> | 2021-04-27 13:46:28 +0900 |
commit | 7c38258eaf87470902e33fe335c1d2023a5e01a0 (patch) | |
tree | 1ea5c160fb537b65374d5207ea90e85061622b58 /testsuite | |
parent | a21839586b397735c0e692c716568da04079c686 (diff) | |
download | libmm-sound-7c38258eaf87470902e33fe335c1d2023a5e01a0.tar.gz libmm-sound-7c38258eaf87470902e33fe335c1d2023a5e01a0.tar.bz2 libmm-sound-7c38258eaf87470902e33fe335c1d2023a5e01a0.zip |
Remove sound_server legacies
Change-Id: Ie6c3c07d86362233fc489d6b3286dda199bda106
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/mm_sound_testsuite_simple.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/testsuite/mm_sound_testsuite_simple.c b/testsuite/mm_sound_testsuite_simple.c index d21cd28..3989f4f 100755 --- a/testsuite/mm_sound_testsuite_simple.c +++ b/testsuite/mm_sound_testsuite_simple.c @@ -519,38 +519,6 @@ static void interpret(char *cmd) ret = mm_sound_play_keysound(KEYTONE_FILE, 0); if (ret < 0) debug_error("keysound play failed with 0x%x", ret); - } else if (strcmp(cmd, "dbus-m") == 0) { - int ret = 0; - int a = 3; - int b = 4; - int result_val = 0; - g_print("dbus method test call\n"); - ret = mm_sound_test(a, b, &result_val); - if (ret) - g_print("failed to mm_sound_test(), ret[0x%x]\n", ret); - else - g_print("Got answer : %d\n", result_val); - - } else if (strcmp(cmd, "dbus-a") == 0) { - int ret = 0; - int user_data = 3; - g_print("dbus method test add callback\n"); - g_print("my testsuite pid : %u tid : %ld\n", getpid(), pthread_self()); - ret = mm_sound_add_test_callback(mm_sound_test_cb1, (void *)user_data, &g_subs_id_test); - if (ret) - g_print("failed to mm_sound_add_test_callback(), ret[0x%x]\n", ret); - else - g_print("add test callback success\n"); - - } else if (strcmp(cmd, "dbus-r") == 0) { - int ret = 0; - g_print("dbus method test remove callback\n"); - ret = mm_sound_remove_test_callback(g_subs_id_test); - if (ret) - g_print("failed to mm_sound_remove_test_callback(), ret[0x%x]\n", ret); - else - g_print("remove test callback success\n"); - } else if (strncmp(cmd, "q", 1) == 0) { unsigned int value = 100; ret = mm_sound_volume_get_value(g_volume_type, &value); |