Add new APIs to set or get preferred built-in device 57/210257/14
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 3 Jul 2019 05:18:35 +0000 (14:18 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 6 Aug 2019 22:59:56 +0000 (07:59 +0900)
commit96e2772b43a5058239b18c920544368b74842449
treef35147065dbae51fd851175330c11d5936b8ddc6
parentb33ee9e1235dff1c0c8f7d96e467c697c37a09b6
Add new APIs to set or get preferred built-in device

These new APIs are to set or get a specific built-in device when
the system has multiple devices of the same built-in device type.

When there's only one device for a built-in device type in the system,
nothing will happen even if these functions succeed in operation.

 - sound_manager_set_preferred_device
 - sound_manager_get_preferred_device

[Version] 0.5.32
[Issue Type] New feature

Change-Id: I7a709462031238de4127d9e6a5087577245f1627
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/sound_manager.h
include/sound_manager_private.h
packaging/capi-media-sound-manager.spec
src/sound_manager.c
src/sound_manager_private.c
test/sound_manager_test.c