Sylvain Petreolle spetreolle@yahoo.fr writes:
this patch is an attempt to provide Alsa 1.0 support into winealsa.
the file audio_09.c is the current audio.c for alsa 0.9 with small modifications to ensure compatibility with the new alsa API.
I don't think we want yet another duplicate of that code. Please try to support both in the same file, there aren't that many differences.
--- Alexandre Julliard julliard@winehq.com a écrit : > Sylvain Petreolle spetreolle@yahoo.fr writes:
this patch is an attempt to provide Alsa 1.0 support into winealsa.
the file audio_09.c is the current audio.c for alsa 0.9 with small modifications to ensure compatibility with the new alsa API.
I don't think we want yet another duplicate of that code. Please try to support both in the same file, there aren't that many differences.
We cant do that, since supporting 1.0 involves a completely different API.
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Sylvain Petreolle spetreolle@yahoo.fr writes:
We cant do that, since supporting 1.0 involves a completely different API.
Of course you can, the API is not completely different, it's basically identical except that the call sequence of the pcm functions has changed; this doesn't justify duplicating the whole file. In fact it seems simply defining the ALSA_PCM_OLD_* macros would work just as well.