[PATCH v3 1/5] winepulse.drv: Expose audio devices to the application.
Huw Davies
huw at codeweavers.com
Thu Feb 17 09:23:10 CST 2022
On Thu, Feb 17, 2022 at 03:55:03PM +0200, Gabriel Ivăncescu wrote:
> +struct get_endpoint_ids_params
> +{
> + EDataFlow flow;
> + DWORD size;
> + WCHAR *device_strings;
> + HRESULT result;
> + unsigned int num;
> +};
As already mentioned, it would be better to try to keep this
as close as possible to the existing get_endpoint_ids_params
in the coreaudio and alsa drivers. i.e. pass a ptr to a
(client allocated) struct endpoint array. Sure, the endpoint
struct will be slightly different, but once we have all of
the drivers converted it'll make harmonising the interface
rather easier.
Huw.
More information about the wine-devel
mailing list