[0.3.79] replace deprecated enumeration 06/164406/1
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 19 Dec 2017 04:37:42 +0000 (13:37 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 19 Dec 2017 04:37:58 +0000 (13:37 +0900)
use SOUND_DEVICE_BLUETOOTH_MEDIA instead of SOUND_DEVICE_BLUETOOTH

Change-Id: I245578d08537e3ddffd8d8a4e0dd425dd2e8e965
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-player.spec
test/player_audio_test.c
test/player_test.c

index a264dcaf61162ff23a3e50c2e04313484ac7c194..c3aa3c77b6a8382bc3f8afd1b999d116329956d2 100644 (file)
@@ -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
index 6ab60ea8bd5b9c875e5f7f6f74e89fe86a7cb284..8ed65b6823c4b7f667a1e159064f8379bc9b8a46 100644 (file)
@@ -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;
index 8421aa41892fc3073aee13375e488ac3db1fb039..38370e9f09ae2eca2837458313a81a180dbb9124 100644 (file)
@@ -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;