All of lore.kernel.org
 help / color / mirror / Atom feed
* Enumerating virtual devices
@ 2005-01-28  1:09 Gregor Mückl
  2005-01-28 19:29 ` Lee Revell
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Mückl @ 2005-01-28  1:09 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Enumerating virtual devices
  2005-01-28  1:09 Enumerating virtual devices Gregor Mückl
@ 2005-01-28 19:29 ` Lee Revell
  2005-01-31 11:56   ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Lee Revell @ 2005-01-28 19:29 UTC (permalink / raw)
  To: Gregor Mückl; +Cc: alsa-devel

On Fri, 2005-01-28 at 02:09 +0100, Gregor Mückl wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Enumerating virtual devices
  2005-01-28 19:29 ` Lee Revell
@ 2005-01-31 11:56   ` Takashi Iwai
  2005-01-31 12:42     ` Manuel Jander
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2005-01-31 11:56 UTC (permalink / raw)
  To: Lee Revell; +Cc: Gregor Mückl, alsa-devel

At Fri, 28 Jan 2005 14:29:30 -0500,
Lee Revell wrote:
> 
> On Fri, 2005-01-28 at 02:09 +0100, Gregor Mückl wrote:
> > 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".

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Enumerating virtual devices
  2005-01-31 11:56   ` Takashi Iwai
@ 2005-01-31 12:42     ` Manuel Jander
  0 siblings, 0 replies; 4+ messages in thread
From: Manuel Jander @ 2005-01-31 12:42 UTC (permalink / raw)
  To: Takashi Iwai, alsa-devel

Hello,

On Mon, 2005-01-31 at 12:56 +0100, Takashi Iwai wrote:
> At Fri, 28 Jan 2005 14:29:30 -0500,
> Lee Revell wrote:
> > On Fri, 2005-01-28 at 02:09 +0100, Gregor Mückl wrote:
> > > 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!]
> 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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-31 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-28  1:09 Enumerating virtual devices Gregor Mückl
2005-01-28 19:29 ` Lee Revell
2005-01-31 11:56   ` Takashi Iwai
2005-01-31 12:42     ` Manuel Jander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.