Huw Davies (@huw) commented about dlls/winepulse.drv/pulse.c:
- PhysDevice *dev;
- LIST_FOR_EACH_ENTRY(dev, list, PhysDevice, entry) {
if (strcmp(params->pulse_name, dev->pulse_name))
continue;
params->fmt = dev->fmt;
params->result = S_OK;
return STATUS_SUCCESS;
- }
- params->fmt = config->modes[params->flow == eCapture].format;
- params->result = S_OK;
- params->result = S_OK;
Duplicate lines.