Restructure WINE_WAVEOUT/WINE_WAVEIN
Alexandre Julliard
julliard at winehq.org
Wed Jun 8 12:51:45 CDT 2005
Jeremy White <jwhite at codeweavers.com> writes:
> @@ -228,12 +205,20 @@
>
> /* DirectSound stuff */
> DSDRIVERDESC ds_desc;
> - DSCDRIVERCAPS ds_caps;
> -} WINE_WAVEIN;
> + DSDRIVERCAPS ds_caps;
> +
> + union {
> + WINE_WAVEOUT out;
> + WINE_WAVEIN in;
> + };
You need to give a name to the union, anonymous unions are not
portable. Though considering how few fields remain in the in/out
structure you might just as well merge them into the common structure
and use a single structure for everything.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list