The 'none' value is to unset operation of SetSpecifcStreamOnly method.
It should not be handled as an invalid value.
[Version] 11.1.27
[Issue type] Bug fix
Change-Id: I6daed542ec48736ed9bc00573a03a6bacf1ffc05
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: pulseaudio-modules-tizen
Summary: Pulseaudio modules for Tizen
-Version: 11.1.26
+Version: 11.1.27
Release: 0
Group: Multimedia/Audio
License: LGPL-2.1+
pa_dbus_send_error(conn, msg, DBUS_ERROR_NOT_SUPPORTED, "%s", "org.tizen.multimedia.audio.InvalidOperation");
return;
}
- if (!pa_stream_manager_is_valid_stream_role(dm->core, stream_role)) {
+ if (!pa_streq(stream_role, "none") && !pa_stream_manager_is_valid_stream_role(dm->core, stream_role)) {
pa_dbus_send_error(conn, msg, DBUS_ERROR_NOT_SUPPORTED, "%s", "org.tizen.multimedia.audio.InvalidOperation");
return;
}