device-manager: Add Dbus interfaces to specify stream role to usb device 10/178910/4
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 11 May 2018 07:58:32 +0000 (16:58 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 1 Jun 2018 08:38:39 +0000 (17:38 +0900)
commitca5a842e2c3b3df2a9f086ffe1aa341ba40c1775
tree20e8aefc82dffc353b79917c1590fa8128cfcc94
parent07ef870c6e343e151dfd3df2286bd163206bf275
device-manager: Add Dbus interfaces to specify stream role to usb device

Methods are added as below
 - SetSpecificStreamOnly
    : arg#1 (in)  int32 for device_id
      arg#2 (in)  string for stream_role
 - GetSpecifiedStream
    : arg#1 (in)  int32 for device_id
      arg#2 (out) string for stream_role

This information will be used in policy logic to determine which
stream is available for the usb device according to the value.

pa_tz_device_get_specified_stream_role() is also added in tizen-device.c

[Version] 11.1.8
[Issue Type] New feature

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