[AudioManager] Add properties for the preferred device (#987)
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 3 Sep 2019 03:10:20 +0000 (12:10 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2019 03:10:20 +0000 (12:10 +0900)
commit4c05cfedbfe61d66ffdfefe61e0bb41df720dd9a
tree6f32c74ab17e10d09d29ff7c279245a6c2016baf
parent0c133f094ab995c10034317cf1d7be2be55caf1c
[AudioManager] Add properties for the preferred device (#987)

* [AudioManager] Add properties for the preferred device to AudioStreamPolicy class

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
* fixup! [AudioManager] Add properties for the preferred device to AudioStreamPolicy class

* fixup! [AudioManager] Add properties for the preferred device to AudioStreamPolicy class

* [AudioManager] Use null-conditional operator and ?? operator

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
* [AudioManager] Remove codes checking device id of preferred device handle

Native API is now changed to return error if there's a difference of preferred
deivce id between server and stream info. handle.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
* fixup! [AudioManager] Remove codes checking device id of preferred device handle

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
src/Tizen.Multimedia/AudioManager/AudioStreamPolicy.cs
src/Tizen.Multimedia/Interop/Interop.StreamPolicy.cs