Skip to contentSkip to conversation

Parsing asoundrc for devices.

DISCUSSION Patrick Shirkey 3 participants 4 messages Feb 26, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Paul Davis
Quoted 5 lines

I need a way to find out the details of the devices I create with the asoundrc file.

It would be extremely useful to have it as part of the alsa-tools or maybe just part of alsactl/amixer.

Is this on anyone short term TODO list or will I need to look into it myself?

more than snd_card_next () ?

I don't quite follow this. Is that a fictional call which an app could use to get these details or is it an already functioning piece of code that I haven't seen in action?

Signature · 17 lines
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

Being on stage with the band in front of crowds shouting, "Get off! No! We want normal music!", I think that was more like acting than anything I've ever done.

Goldie, 8 Nov, 2002
The Scotsman



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
#2 lore raw
Quoted 3 lines

I don't quite follow this. Is that a fictional call which an app could use to get these details or is it an already functioning piece of code that I haven't seen in action?

the latter.

-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp

#3 lore raw
Quoted 5 lines · Paul Davis
Quoted 1 line

I don't quite follow this. Is that a fictional call which an app could use to get these details or is it an already functioning piece of code that I haven't seen in action?

the latter.

Sorry to be lame but...

Does anyone know if it is used in any apps that I might have in my system or have I not seen it in action because no one uses it yet?

Signature · 17 lines
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

Being on stage with the band in front of crowds shouting, "Get off! No! We want normal music!", I think that was more like acting than anything I've ever done.

Goldie, 8 Nov, 2002
The Scotsman



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
#4 lore raw
Quoted 6 lines · Patrick Shirkey
Quoted 5 lines · Paul Davis
Quoted 3 lines

I don't quite follow this. Is that a fictional call which an app could use to get these details or is it an already functioning piece of code that I haven't seen in action?

Quoted 7 lines
Quoted 2 lines

the latter.

Sorry to be lame but...

Does anyone know if it is used in any apps that I might have in my system or have I not seen it in action because no one uses it yet?

It's not an easy task when you have a lot of virtual devices with more configurable parameters. Also you may pass one virtual device to another, this chaining makes things more and more complicated for the end user.

I think that we need to discus what is the best solution for this purpose. My idea is to create a nice graphical tool which will parse and manage the .asoundrc file. Then it creates a list of devices with easy syntax which will be accessible via alsa-lib functions. In this way, the default predefined devices will be available to standard users and more skilled users will use the graphical tools. Gurus may modify .asoundrc file by hand, of course ;-)

Unfortunately, I and Takashi have no power to create such graphical tool. We can probably add some default list of devices and create the alsa-lib's functions.

Jaroslav

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

-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp