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>
Name: pulseaudio
Summary: Improved Linux sound server
Version: 11.1
-Release: 49
+Release: 50
Group: Multimedia/Audio
License: LGPL-2.1
URL: http://pulseaudio.org
}
if (pa_sample_spec_equal(&desired_spec, &s->sample_spec) && passthrough == pa_sink_is_passthrough(s))
+#ifdef __TIZEN__
+ {
+ pa_log_info("desired spec is same as sink->sample_spec");
+ return 0;
+ }
+#else
return -1;
+#endif
if (!passthrough && pa_sink_used_by(s) > 0)
return -1;