[PATCH 5/5] wineoss: Move get_endpoint_ids to the unixlib.
Huw Davies
huw at codeweavers.com
Thu Mar 31 02:29:25 CDT 2022
On Mon, Mar 28, 2022 at 10:37:45AM +0100, Huw Davies wrote:
> +static NTSTATUS get_endpoint_ids(void *args)
> +{
> + struct get_endpoint_ids_params *params = args;
> + oss_sysinfo sysinfo;
> + static int print_once = 0;
> + static const WCHAR outW[] = {'O','u','t',':',' ',0};
> + static const WCHAR inW[] = {'I','n',':',' ',0};
> + struct endpoint_info
> + {
> + WCHAR name[OSS_DEVNAME_SIZE + ARRAY_SIZE(outW)];
> + char device[OSS_DEVNODE_SIZE];
Andrew pointed out that FreeBSD doesn't provide OSS_DEVNAME_SIZE (the
header there appears to be OSSv3). I've sent in v2 of this series
which avoids that - this is the only patch that's changed (other than
a rebase to upstream's head).
Huw.
More information about the wine-devel
mailing list