use SOUND_DEVICE_BLUETOOTH_MEDIA instead of SOUND_DEVICE_BLUETOOTH
Change-Id: I245578d08537e3ddffd8d8a4e0dd425dd2e8e965
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
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
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;
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;