device-manager: Add Dbus interfaces to set/get avoid-resampling feature 17/183717/2
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 10 Jul 2018 08:24:19 +0000 (17:24 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 11 Jul 2018 05:19:34 +0000 (14:19 +0900)
commitce68084ed6dd484984ec8428f052deb04af4c356
tree6afffa0cfe8d81731bbc8d6396dbc4fe470d1621
parent04015de42b9457e43fd3937e38c60b143b199123
device-manager: Add Dbus interfaces to set/get avoid-resampling feature

Methods are added as below
 - SetAvoidResampling
    : arg#1 (in)  int32 for device_id
      arg#2 (in)  boolean for enable/disable
 - GetAvoidResampling
    : arg#1 (in)  int32 for device_id
      arg#2 (out) boolean for enabled/disabled

Those APIs are only for usb output device.
Note that the functionality of setting '0' with SetSampleRate method
is totally moved to this SetAvoidResampling method.

[Version] 11.1.16
[Issue Type] New feature

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