On Fri, Mar 22, 2002 at 01:08:11AM +0100, Rainer Canavan wrote:
> i'd like to write a pcmout driver for the IRIX AL, but it works with
> poll() or select() instead of callbacks, and this seems not to be
> supported by the current driver model. Are there any known methods to
> make this work?
There's nothing which says you can't do that. However, you're going to
have to use a threading model; create a child thread to perform the
actual mixing of and shoving bits out to the pcm device.
I used the callback mechanisms in SDL and ALSA because they're much
simpler from an application perspective.
Let me know if you want me to go into a bit more detail.
(Ya know, I'm surprised that the Irix AL doesn't have a callback
mechanism.. it's usually a sign of a mature API)
- Pizza
--
Solomon Peachy pizzaATfucktheusers.org
I ain't broke, but I'm badly bent. ICQ# 1318344
Patience comes to those who wait.
...It's not "Beanbag Love", it's a "Transanimate Relationship"...
-- Attached file included as plaintext by Listar --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8mqXaysXuytMhc5ERAvYfAJwMbov3TwygCqqn4jswuX4n6GPAkwCfX/yt
nqXiYHWtzWmAtNOl7peAN/o=
=UsnD
-----END PGP SIGNATURE-----