@@ -1483,11 +1483,11 @@ static int parse_properties(DBusMessageIter *props, const char **uuid,
} else if (strcasecmp(key, "PreferredMinimumDelay") == 0) {
if (var != DBUS_TYPE_UINT16)
return -EINVAL;
- dbus_message_iter_get_basic(&value, &qos->pd_min);
+ dbus_message_iter_get_basic(&value, &qos->ppd_min);
} else if (strcasecmp(key, "PreferredMaximumDelay") == 0) {
if (var != DBUS_TYPE_UINT16)
return -EINVAL;
- dbus_message_iter_get_basic(&value, &qos->pd_max);
+ dbus_message_iter_get_basic(&value, &qos->ppd_max);
}
dbus_message_iter_next(props);
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Preferred Delay properties were being stored as qos->pd_* instead of qos->ppd_*. --- profiles/audio/media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)