arts does not follow ALSA API
He sounds pissed.. :) If you get pissed by these forwards, please tell me.. I figured they might be of interest..
Begin forwarded message:
Date: 19 Mar 2004 15:05:31 -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-19 16:05
-------
CVS commit by carewolf:
After venting my fury I calmed down and looked at the dmix-code. It seems
it is really more borken than broken, and nothing we can't work around.
- Make aRts work with dmix. Two important changes:
1. Dmix uses read-events to signify write-events, so we need to
autodetect
what kind of crack ALSA is smoking today.
2. Dmix needs to be started like a recorder even if this is contrary to the ALSA API documentation.
If everything works like expected I will backport and close bugs 76413 and 70802.
CCMAIL: 76413 bugs kde org
CCMAIL: 70802 bugs kde org
M +110 -48 audioioalsa9.cc 1.6
Signature · 9 lines
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
Quoted 33 lines · Florian Schmidt
He sounds pissed.. :) If you get pissed by these forwards, please tell me.. I figured they might be of interest..
Begin forwarded message:
Date: 19 Mar 2004 15:05:31 -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-19 16:05
-------
CVS commit by carewolf:After venting my fury I calmed down and looked at the dmix-code. It seems it is really more borken than broken, and nothing we can't work around.
- Make aRts work with dmix. Two important changes:
1. Dmix uses read-events to signify write-events, so we need to
autodetect
what kind of crack ALSA is smoking today.
2. Dmix needs to be started like a recorder even if this is contrary to the ALSA API documentation.
Quoted 11 lines
If everything works like expected I will backport and close bugs 76413 and 70802.
CCMAIL: 76413 bugs kde org
CCMAIL: 70802 bugs kde orgM +110 -48 audioioalsa9.cc 1.6
If there is a bug in alsa, we will fix it.
Can you post a small program to demonstrate the problem.
Cheers
James
-------------------------------------------------------
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
Quoted 9 lines · James Courtier-Dutton
Quoted 9 lines
------- 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
CCMAIL: 76413 bugs kde org
CCMAIL: 70802 bugs kde org
Quoted 5 lines
Quoted 2 lines
M +110 -48 audioioalsa9.cc 1.6
If there is a bug in alsa, we will fix it.
Can you post a small program to demonstrate the problem.
It's not a bug, but this guy definitely wants to simplify his work. He uses file descriptors directly without snd_pcm_poll_descriptors_revents(). The dmix plugin (and dshare) are first plugins which don't return POLLOUT for playback but POLLIN (because timer events are used as the event source).
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
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
Quoted 24 lines · Jaroslav Kysela
Quoted 9 lines · James Courtier-Dutton
Quoted 9 lines
------- 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
CCMAIL: 76413 bugs kde org
CCMAIL: 70802 bugs kde orgQuoted 5 lines
Quoted 2 lines
M +110 -48 audioioalsa9.cc 1.6
If there is a bug in alsa, we will fix it.
Can you post a small program to demonstrate the problem.It's not a bug, but this guy definitely wants to simplify his work.
He uses file descriptors directly withoutsnd_pcm_poll_descriptors_revents(). The dmix plugin (and dshare) are first plugins which don't return POLLOUT for playback but POLLIN
(because timer events are used as the event source).
Quoted 8 lines
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
I read the thread:
Quoted 1 line
Quoted 1 line
Quoted 1 line
The guys there just don't understand what you told them. If they took the time to actually read what you said, they could easily fix their problem.
Summary: -
No bug in alsa.
Cheers
James
-------------------------------------------------------
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
Quoted 6 lines · James Courtier-Dutton
The guys there just don't understand what you told them. If they took the time to actually read what you said, they could easily fix their problem.
Summary: -
No bug in alsa.
Summary 2:
There seem to be quite a lot of projects that have problems to get native alsa support right: wine, winex, arts, xmms...
How about a "alsa application developers meeting" once per month on IRC? If that meeting would be announced on the developer mailing list of projects that are known to use alsa, this might actually help.
The invitation should contain something along the line:
"If you have written code to use alsa, you should participate. Either because you did it right and can help others to do so too or because you didn't and in that case you should want to improve."
Ciao
Jörg
Signature · 10 lines
Joerg Mayer <[email protected]> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ------------------------------------------------------- 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
Quoted 11 lines · Joerg Mayer
Quoted 4 lines · James Courtier-Dutton
The guys there just don't understand what you told them. If they took the time to actually read what you said, they could easily fix their problem.
Summary: -
No bug in alsa.Summary 2:
There seem to be quite a lot of projects that have problems to get native alsa support right: wine, winex, arts, xmms...
wine is only just starting to support alsa properly, due mainly to lack of real need to alsa support for a long time. They are starting to support it well now. xmms don't support it well for obvious reasons. They charge people for OSS drivers, so the xmms alsa driver has to look worse!
Quoted 4 lines
How about a "alsa application developers meeting" once per month on IRC? If that meeting would be announced on the developer mailing list of projects that are known to use alsa, this might actually help.
Just reading the docs correctly should help.
I hang out on #alsa on freenode quite a lot, and will help if I have the time.
Quoted 8 lines
The invitation should contain something along the line:
"If you have written code to use alsa, you should participate. Either because you did it right and can help others to do so too or because you didn't and in that case you should want to improve."Ciao
Jörg
-------------------------------------------------------
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
Quoted 9 lines · James Courtier-Dutton
Quoted 8 lines · Joerg Mayer
Quoted 6 lines · James Courtier-Dutton
The guys there just don't understand what you told them. If they took the time to actually read what you said, they could easily fix their problem.
Summary: -
No bug in alsa.
Quoted 8 lines
Quoted 3 lines
Summary 2:
There seem to be quite a lot of projects that have problems to get native alsa support right: wine, winex, arts, xmms...wine is only just starting to support alsa properly, due mainly to lack of real need to alsa support for a long time. They are starting to support it well now.
xmms don't support it well for obvious reasons. They charge people for OSS drivers, so the xmms alsa driver has to look worse!
The funny thing is that they can't even get that right, unless, of course, you consider random skips a sign of correctness.
Signature · 10 lines
Måns Rullgård [email protected] ------------------------------------------------------- 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