[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 2004-07-05 at 14:26 -0600, Thomas Fjellstrom wrote:
> >
> > I think this can also be removed, unless we get a bug report about it.
> > The problems Tomasu is having with Alsa apparently are not that
> > something can not be set, but that Allegro's polling approach doesn't
> > work very well with Alsa. But we might put a threaded Alsa driver on the
> > wishlist - like the SGI one.
> >
>
> I have a perfectly working (for me) threaded ALSA driver for a little audio
> playing lib I was working on. Never had a problem with CPU usage.. Maybe I'll
> send it to someone to test before I throw it into a patch for allegro?
>
> I'll also go see what some of those software and hardware param functions and
> options are good for... No guaranees though ;)
>
I'd be willing to test it, just mail or catch me in #allegro. And I'm
quite sure a threaded driver won't cause CPU problems, since it would
use blocking IO, having all the thread for itself :) We still want to
keep the non-threaded version in any case, for people like Vincent, and
I think there's other uses for it - e.g. docs/build/darwin.txt tells to
disable threading. (No idea if darwin can have alsa though.)
--
Elias Pschernig