From 4b58dfb570eca5acf96756bc95cf61c4a2a24721 Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Tue, 19 Dec 2017 13:37:42 +0900 Subject: [PATCH] [0.3.79] replace deprecated enumeration use SOUND_DEVICE_BLUETOOTH_MEDIA instead of SOUND_DEVICE_BLUETOOTH Change-Id: I245578d08537e3ddffd8d8a4e0dd425dd2e8e965 Signed-off-by: Sangchul Lee --- packaging/capi-media-player.spec | 2 +- test/player_audio_test.c | 2 +- test/player_test.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/capi-media-player.spec b/packaging/capi-media-player.spec index a264dca..c3aa3c7 100644 --- a/packaging/capi-media-player.spec +++ b/packaging/capi-media-player.spec @@ -1,6 +1,6 @@ Name: capi-media-player Summary: A Media Player API -Version: 0.3.78 +Version: 0.3.79 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/test/player_audio_test.c b/test/player_audio_test.c index 6ab60ea..8ed65b6 100644 --- a/test/player_audio_test.c +++ b/test/player_audio_test.c @@ -705,7 +705,7 @@ static void set_sound_stream_info(int type) g_print("failed to sound_manager_get_device_type(), ret(0x%x)\n", ret); goto END; } - if (device_type == SOUND_DEVICE_BLUETOOTH || device_type == SOUND_DEVICE_USB_AUDIO) { + if (device_type == SOUND_DEVICE_BLUETOOTH_MEDIA || device_type == SOUND_DEVICE_USB_AUDIO) { if ((ret = sound_manager_add_device_for_stream_routing(g_stream_info_h, device))) { g_print("failed to sound_manager_add_device_for_stream_routing(), ret(0x%x)\n", ret); goto END; diff --git a/test/player_test.c b/test/player_test.c index 8421aa4..38370e9 100644 --- a/test/player_test.c +++ b/test/player_test.c @@ -1413,7 +1413,7 @@ static void set_sound_stream_info(int type) g_print("failed to sound_manager_get_device_type(), ret(0x%x)\n", ret); goto END; } - if (device_type == SOUND_DEVICE_BLUETOOTH || device_type == SOUND_DEVICE_USB_AUDIO) { + if (device_type == SOUND_DEVICE_BLUETOOTH_MEDIA || device_type == SOUND_DEVICE_USB_AUDIO) { if ((ret = sound_manager_add_device_for_stream_routing(g_stream_info_h, device))) { g_print("failed to sound_manager_add_device_for_stream_routing(), ret(0x%x)\n", ret); goto END; -- 2.7.4