You could always have a look at the v19 (development) branch of PortAudio (www.portaudio.com), which offers an abstraction layer on top of host APIs. ALSA is well supported under v19 (I am one of the authors), while the OSS and JACK layers might need some work (although I'm not totally a jour on their status). Anyway, PortAudio has both callback driven and blocking interfaces, and there is a C++ wrapper called PaCpp (supports class member callbacks from what I remember). If nothing else, you could have a look at how the callback implementation on top of ALSA is done.
Hope this helps
Arve Knudsen
On Wed, 04 Feb 2004 18:29:46 -0600, Nathan Morell <[EMAIL PROTECTED]> wrote:
Hi guys, this is my first note to the list so I'm going to try and get some background information to start on this task.
After talking with Bill, the author of gkrellm, I need to find out if ALSA supports 'callbacks' (a new concept in c++ to me).
quoted from our email: ---------- A while back I looked at ALSA 0.9 support for gkrellmss but there was no callback mechanism as there was in ALSA 0.5. Maybe this has changed and I'll look again (let me know if you have any info on this), but short of that, it takes a sound server that provides such callbacks. Currently that's ESD, but I'll probably be adding Jack support fairly soon. ----------
other then the above, and taking a close look at the original source to the gkrellm-sound plugin, could anybody offer some advice on my project?
thanks in advance, --Nathan
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel