sink: pa_sink_reconfigure() returns 0 if incoming sample spec is same as sink's 87/189687/2 accepted/tizen/5.0/unified/20181102.030706 accepted/tizen/unified/20180921.042524 submit/tizen/20180920.045112 submit/tizen_5.0/20181101.000007
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 20 Sep 2018 01:14:46 +0000 (10:14 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 20 Sep 2018 01:31:22 +0000 (10:31 +0900)
commit17c1787d8333de12298f28bc4ddb864b94d552e7
tree01f4dff7cd9a5c9e3456990275bf781f4a129592
parentd8cc6b1503128eb7d45e0945e5211d78aa51e99b
sink: pa_sink_reconfigure() returns 0 if incoming sample spec is same as sink's

pa_sink_reconfigure() returned -1 if that case. But it seems a bit harsh
that this situation is considered as an error. Adding another return value
or just returning 0 can be an option. This is a temporary patch for tizen.

[Version] 11.1-50
[Issue Type] Enhancement

Change-Id: Ie11e4f9e4fa7d7b9d0ef03bb8e868de5c3e3d6dc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio.spec
src/pulsecore/sink.c