device-manager: Add 'role' parameter to _device_manager_get_type_info() 54/207954/1
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 14 Jun 2019 07:26:56 +0000 (16:26 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 14 Jun 2019 07:26:56 +0000 (16:26 +0900)
commit8be0622f4dc32da7055ee73bd5b0c2170046c38b
tree17007fc919de5dec4f159d9c64004139d5b926c2
parentf7c666626e272f0d3a0dc6567d5d88d7e32f3956
device-manager: Add 'role' parameter to _device_manager_get_type_info()

This function is related to device descriptions in device-map.json.
It is also revised considering the role.

load_sink/source() is fixed to return sink/source even if the device
has been already loaded instead of NULL.

[Version] 11.1.50
[Issue type] Improvement

Change-Id: I01a2d898e48e4e06ce5d316e68eaa50f9d7b3a6f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/device-manager-dbus.c
src/device-manager.c