Skip to contentSkip to conversation

arts does not follow ALSA API

Bug 76413 Florian Schmidt 1 participant 1 message Mar 9, 2004

lore
Share & tools
lore
#0 lore raw

Might be of interest..

Begin forwarded message:

Date: 3 Mar 2004 12:13:15 -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

------- Additional Comments From kde carewolf com 2004-03-03 13:13
-------
We would be happy to accept your patches. I've started to work on this bug, but I know neither ALSA nor much of aRts.

Currently the ALSA-plugin in aRts only calls snd_pcm_poll_descriptors, and uses the first returned fd there for later use in select. If I understand you correctly we need to be able to handle multiple file-descriptors, and can't be garantied that they have the right direction?

Now how do we tell which of the returned descriptors are writefds and which are readfds? The only solution I can think of right now is to checks the revents and hope all the writable ones are already in a POLLOUT state.

I am also worried about the ALSA-documentation which states the fds returned by snd_pcm_poll_descriotors might be bogus.

Signature · 9 lines
to sign or not to sign, that is the question



-------------------------------------------------------
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