Skip route_change_hook_cb when manual device is null even if route type is manual series
[Version] 11.1.45
[Issue type] Bug fix
Change-Id: Icc1a00eb2fe9dedfc6592f6f49cc840fe5b2095c
Signed-off-by: jungsup lee <jungsup4.lee@samsung.com>
Name: pulseaudio-modules-tizen
Summary: Pulseaudio modules for Tizen
-Version: 11.1.44
+Version: 11.1.45
Release: 0
Group: Multimedia/Audio
License: LGPL-2.1+
pa_log_error("[ROUTE] available devices is NULL, do nothing...");
return PA_HOOK_OK;
}
+
+ if (IS_MANUAL_ROUTE_TYPE_SERIES(data->route_type) && !data->idx_manual_devices) {
+ pa_log_error("[ROUTE] manual devices is NULL, do nothing...");
+ return PA_HOOK_OK;
+ }
+
route_info.role = data->stream_role;
if (IS_AUTO_ROUTE_TYPE_SERIES(data->route_type)) {