From 13add41e2fe0aca6bc726df2d0f4800fbf47c457 Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Tue, 18 Jun 2019 09:17:00 +0900 Subject: [PATCH] Use MM_SOUND_DEVICE_TYPE_NETWORK renamed from _TYPE_RAOP [Version] 0.12.44 [Issue Type] Improvement Change-Id: I77ab3317bca9ae4d75d7c3e09ae735d1a9a188e1 Signed-off-by: Sangchul Lee --- include/mm_sound.h | 2 +- mm_sound_device.c | 4 ++-- packaging/libmm-sound.spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mm_sound.h b/include/mm_sound.h index 99adec6..534d8c5 100644 --- a/include/mm_sound.h +++ b/include/mm_sound.h @@ -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 */ diff --git a/mm_sound_device.c b/mm_sound_device.c index c9ef5f0..ebcfddc 100644 --- a/mm_sound_device.c +++ b/mm_sound_device.c @@ -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); diff --git a/packaging/libmm-sound.spec b/packaging/libmm-sound.spec index d868502..51fa146 100644 --- a/packaging/libmm-sound.spec +++ b/packaging/libmm-sound.spec @@ -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 -- 2.7.4