Re: [AD] new ALSA driver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Chris Robinson wrote:

I've updated the code (attached; strangesoft's ftp seems broken, atm) using the latest sound code I have here, added error.c/error.h for the current error API, added openal.c, and supplied a simple default.cbd script. I also fixed up alsa.c a little (mainly as it related to the threaded loop). I still see things I want to clean up, but it doesn't seem to be far off from being able to use multiple hardware voices, assuming it just needs more snd_pcm_open calls.

Looks much better already. I guess alas_voice_mutex can be put into ALSA_VOICE struct. It was out because I was checking if alsa_voice was NULL, but that can't happen any more.


--
Milan Mimica
http://sparklet.sf.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/