Re: [Alsa-user] How to get a list of pcm devices

2006-09-16 Thread Mario Rossi
For instance, to use pcm.tee, one has to write aplay -D pcm.tee:"slave_pcm_name,file_name" some_file.wav while aplay -D pcm.tee some_file.wav does not work. So if one wants to give the user a list of valid plugins, "pcm.tee" is not good. cheers pcm.tee { @args [ SLAVE FILE FORMAT ]

Re: [Alsa-user] How to get a list of pcm devices

2006-09-16 Thread Lee Revell
On Sat, 2006-09-16 at 10:38 +0100, Mario Rossi wrote: > Hi, > > I was wondering whether there is a function to get the list of pcm devices? > It would be a list which the user could choose from. > > I've seen that if you run "aplay -L" you get it, but many of those pcm > devices need arguments. >

[Alsa-user] How to get a list of pcm devices

2006-09-16 Thread Mario Rossi
Hi, I was wondering whether there is a function to get the list of pcm devices? It would be a list which the user could choose from. I've seen that if you run "aplay -L" you get it, but many of those pcm devices need arguments. aplay -L just calls snd_config_search(..., "pcm", ...). Is there a w