[PATCH v5 0/3] MR337: winepulse: Return device-specific values for GetMixFormat and GetDevicePeriod

Huw Davies (@huw) wine at gitlab.winehq.org
Mon Jul 4 06:36:09 CDT 2022


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.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/337#note_3205



More information about the wine-devel mailing list