might be of interest to you guys... Begin forwarded message:
Date: 19 Mar 2004 13:50:08 -0000 From: Allan Sandfeld <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Bug 76413] arts does not follow ALSA API ------- You are receiving this mail because: ------- You are a voter for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=76413 kde carewolf com changed: What |Removed |Added ----------------------------------------------------------------------- ----- Status|NEW |UNCONFIRMED ------- Additional Comments From kde carewolf com 2004-03-19 14:50 ------- Okay, having researched the problem. The reason that dmix doesnt work with aRts has nothing to do with how we use the alsa API because all our assumptions are still true. snd_pcm_poll_descriptors() returns exactly one descriptor, but calling select upon this descriptor no matter how it is done will _never_ return. In other words the reason it doesnt work is that dmix is broken! I've looked a bit at how other projects use ALSA, and it seems we could make it work if we used another API and disregarded the broken descriptors alltogether, in other words if we rewrite the entire audio-subsystem of aRts to work-around a bug in ALSA (I have no intention of doing so). Btw. I did make playback over dmix work, but the it required using timing events rather than IO-events and thus CPU-usage was unacceptable. -- kT ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel