Skip to contentSkip to conversation

Enumerating virtual devices

DISCUSSION Gregor Mückl 4 participants 4 messages Jan 28, 2005 – Jan 31, 2005

lore
Share & tools
lore
#0 lore raw

Hello!

Is there a way to enumerate devices like "surround40", "front", "side", etc. and other user-created virtual devices? I can't seem to find any function for that in the documentation. Any hint would be appreciated.

Regards,
Gregor

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#1 lore raw
Quoted 6 lines · Gregor Mückl

Hello!

Is there a way to enumerate devices like "surround40", "front", "side", etc. and other user-created virtual devices? I can't seem to find any function for that in the documentation. Any hint would be appreciated.

That's a very very good question. As you may know this came up on the JACK list recently.

I suspect there is no good API for this, because aplay -L essentially does "get config | grep pcm".

Lee

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#2 lore raw

At Fri, 28 Jan 2005 14:29:30 -0500,

Quoted 9 lines · Lee Revell
Quoted 6 lines · Gregor Mückl

Hello!

Is there a way to enumerate devices like "surround40", "front", "side", etc. and other user-created virtual devices? I can't seem to find any function for that in the documentation. Any hint would be appreciated.

Quoted 5 lines

That's a very very good question. As you may know this came up on the JACK list recently.

I suspect there is no good API for this, because aplay -L essentially does "get config | grep pcm".

Right, no API yet.

I have a plan to create a new API to list up the available PCMs, but not implemented yet.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#3 lore raw

Hello,

Quoted 7 lines · Takashi Iwai

At Fri, 28 Jan 2005 14:29:30 -0500,

Quoted 5 lines · Lee Revell
Quoted 4 lines · Gregor Mückl

Hello!
Is there a way to enumerate devices like "surround40", "front", "side", etc. and other user-created virtual devices? I can't seem to find any function for that in the documentation. Any hint would be appreciated.

[snip!]

Quoted 4 lines

Right, no API yet.

I have a plan to create a new API to list up the available PCMs, but not implemented yet.

IMHO enumeration should not be done just for soundcards, but rather for "devices" and channels. I was proposing something like that in the scope of a Resource Manager and Configuration system for ALSA. Unfortunately i could not go any further beyond some general ideas, because of current very bad employment conditions :( (no time...).
I posted my thoughts on the ALSA wiki, if someone may be interested:
http://alsa.opensrc.org/index.php?page=DrawingBoard

Signature · 10 lines
Manuel Jander
Electronic Engineer



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl