[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:33:35 CDT 2022


Huw Davies (@huw) commented about dlls/winepulse.drv/unixlib.h:
>      UINT32 *padding;
>  };
>  
> +struct get_mix_format_params
> +{
> +    const char *pulse_name;
> +    struct pulse_config *config;
> +    EDataFlow flow;
> +    HRESULT result;
> +    WAVEFORMATEXTENSIBLE fmt;
This isn't how the alsa driver does it.  Please pass a ptr to a `CoTaskMemAlloc()`ed fmt.

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



More information about the wine-devel mailing list