[Version] 5.0.111
[Profile] Common
[Issue Type] Bug fix
Change-Id: Iacf3cb4668cc7c675ce51c3b93d2773ac9be0fcf
Signed-off-by: howon kim <howon.kim@samsung.com>
PA_IDXSET_FOREACH(type_info, dm->type_infos, type_idx) {
device_string = pulse_device_get_device_string(pdevice);
- role = device_type_info_get_role(type_info, pdt, device_string);
+ role = device_type_info_get_role(type_info, !pdt, device_string);
/* Found type_info which is matching with pulse_device */
if (role) {
ctype = pa_xmalloc0(sizeof(struct composite_type));