pulse-server: also handle fix_ for capture

This commit is contained in:
Wim Taymans 2022-03-07 10:26:59 +01:00
parent b12f24efb9
commit dcbaed1251

View file

@ -1822,7 +1822,7 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
n_valid_formats++;
}
}
if (n_params < MAX_FORMATS &&
else if (n_params < MAX_FORMATS &&
(params[n_params] = format_build_param(&b,
SPA_PARAM_EnumFormat, &ss,
ss.channels > 0 ? &map : NULL)) != NULL) {