device-manager: Add Dbus interfaces related to sample rate of usb device
Methods are added as below
- GetSupportedSampleRates
: arg#1 (in) int32 for device_id
arg#2 (out) uint32 array for sample_rates
- SetSampleRate
: arg#1 (in) int32 for device_id
arg#2 (in) uint32 for sample_rate
- GetSampleRate
: arg#1 (in) int32 for device_id
arg#2 (out) uint32 for sample_rate
1. Those APIs are only for usb output device.
2. Here's description about setting sample rate to '0'.
If sample rate is set to '0', it will work to use stream's original sample
rate if the usb device supports the sample rate. In this case, if the
stream's sample rate is lower than default and alternate sample rate of
pulseaudio configuration, it will use the default or the alternate sample
rate. When mixing case happens in the same usb device, the sample rate of
the prior stream will be maintained.
[Version] 11.1.7
[Issue Type] New feature
Change-Id: I7f82d5aefbc84e0641fc05dab86bc89def897c66
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>