Use MM_SOUND_DEVICE_TYPE_NETWORK renamed from _TYPE_RAOP 68/208068/1 accepted/tizen/unified/20190621.121851 submit/tizen/20190619.053430 submit/tizen/20190620.095920
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 18 Jun 2019 00:17:00 +0000 (09:17 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 18 Jun 2019 00:17:58 +0000 (09:17 +0900)
[Version] 0.12.44
[Issue Type] Improvement

Change-Id: I77ab3317bca9ae4d75d7c3e09ae735d1a9a188e1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/mm_sound.h
mm_sound_device.c
packaging/libmm-sound.spec

index 99adec6..534d8c5 100644 (file)
@@ -773,7 +773,7 @@ typedef enum {
        MM_SOUND_DEVICE_TYPE_MIRRORING,         /**< MIRRORING */
        MM_SOUND_DEVICE_TYPE_USB_AUDIO,         /**< USB Audio */
        MM_SOUND_DEVICE_TYPE_BLUETOOTH_SCO,     /**< Bluetooth SCO */
-       MM_SOUND_DEVICE_TYPE_RAOP,              /**< RAOP Audio */
+       MM_SOUND_DEVICE_TYPE_NETWORK            /**< Network */
 } mm_sound_device_type_e;
 
 typedef void *MMSoundDevice_t;          /**< MMsound Device handle */
index c9ef5f0..ebcfddc 100644 (file)
@@ -91,8 +91,8 @@ static int __convert_device_type_to_enum(char *device_type, mm_sound_device_type
                *device_type_enum = MM_SOUND_DEVICE_TYPE_MIRRORING;
        } else if (!strncmp(device_type, "usb-audio", VOLUME_TYPE_LEN)) {
                *device_type_enum = MM_SOUND_DEVICE_TYPE_USB_AUDIO;
-       } else if (!strncmp(device_type, "raop", VOLUME_TYPE_LEN)) {
-               *device_type_enum = MM_SOUND_DEVICE_TYPE_RAOP;
+       } else if (!strncmp(device_type, "network", VOLUME_TYPE_LEN)) {
+               *device_type_enum = MM_SOUND_DEVICE_TYPE_NETWORK;
        } else {
                ret = MM_ERROR_INVALID_ARGUMENT;
                debug_error("not supported device_type(%s), err(0x%08x)", device_type, ret);
index d868502..51fa146 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.12.43
+Version:    0.12.44
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0