Skip to contentSkip to conversation

Driver document for ALSA 0.9.x ?

DISCUSSION Alamy Liu 5 participants 6 messages Nov 27, 2002 – Nov 28, 2002

lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · Alamy Liu

I would like to know if there is any Developer documentation for ALSA 0.9.x (or 0.8.x) available ?

The docs generated by doxygen from the alsa-lib sources are available at
<http://www.alsa-project.org/alsa-doc/alsa-lib/>.

HTH
Clemens

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en

author
#2 lore raw

Arm based driver ?

Hi All,

I am going to write a audio driver which connect to ARM based CPU
directly using I2C and L3.
From the developer's document. It seems the main structure are Card & Chipset. In the Card layer, what kind of card driver should I implement ?
A virtual-card ? (exp : i2c/i2c-pxa250.c and l3/l3-pxa250.c
(i2c/l3/l3-pxa250.c ?) )
Or there is another structure for such a situation ?

Regards,

Alamy Liu

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en

#3 lore raw

Re: Arm based driver ?

Quoted 10 lines · Alamy Liu

Hi All,

I am going to write a audio driver which connect to ARM based CPU
directly using I2C and L3.
From the developer's document. It seems the main structure are Card &
Chipset.
In the Card layer, what kind of card driver should I implement ?
A virtual-card ? (exp : i2c/i2c-pxa250.c and l3/l3-pxa250.c
(i2c/l3/l3-pxa250.c ?) )
Or there is another structure for such a situation ?

Drivers for I2C chips should go to: i2c/
Drivers for L3 chips should go to: i2c/l3/
The card module should go to: arm/

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en

#4 lore raw
In reply to Clemens Ladisch
Quoted 6 lines · Clemens Ladisch
Quoted 2 lines · Alamy Liu

I would like to know if there is any Developer documentation for ALSA 0.9.x (or 0.8.x) available ?

The docs generated by doxygen from the alsa-lib sources are available at
<http://www.alsa-project.org/alsa-doc/alsa-lib/>.

Those are documents for alsa-lib. There are no such documents for the driver.

You can do as I did. Read the source for the drivers that are already there, then ask questions on the list as they arise. If you're lucky, Paul or Takashi will answer. If you can understand any of Jaroslav's posts, you are well on your way to being a driver writer.

Regards,
Mark
[email protected]

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en

#5 lore raw

Hi,

At Wed, 27 Nov 2002 12:23:46 -0600,

Quoted 9 lines · Mark Rages
Quoted 6 lines · Clemens Ladisch
Quoted 2 lines · Alamy Liu

I would like to know if there is any Developer documentation for ALSA 0.9.x (or 0.8.x) available ?

The docs generated by doxygen from the alsa-lib sources are available at
<http://www.alsa-project.org/alsa-doc/alsa-lib/>.

Quoted 6 lines

Those are documents for alsa-lib. There are no such documents for the driver.

You can do as I did. Read the source for the drivers that are already there, then ask questions on the list as they arise. If you're lucky, Paul or Takashi will answer.

... unless i'm on vacation :)

Quoted 2 lines

If you can understand any of Jaroslav's
posts, you are well on your way to being a driver writer.

seriously, i'd like to start documentation of ALSA driver tree, too. at the first step, i'll try to write more comments in javadoc style (which is largely used in kernel codes) on alsa driver sources. then we can compile the complete document from them as an on-line doc.

of course, there are other needs for documentation of ALSA. if someone is interested in it, please let me know.
now is the good time to organize (again) the "documentation project".

ciao,

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en