[WINEALSA] Add Midi IN support

Alexandre Julliard julliard at winehq.org
Thu Jan 8 18:46:53 CST 2004


Christian Costa <titan.costa at wanadoo.fr> writes:

> +    int npfd;
> +    struct pollfd *pfd;
> +    
> +    npfd = snd_seq_poll_descriptors_count(midiSeq, POLLIN);
> +    pfd = (struct pollfd *)alloca(npfd * sizeof(struct pollfd));

You should not use alloca in Wine, it's not portable enough.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list