[alsa-devel] alsa-lib functions reporting conflicting information with two sound cards

Lee Revell rlrevell at joe-job.com
Thu Apr 19 17:46:53 CEST 2007


On 4/19/07, nick smethurst <nick.smethurst at gmail.com> wrote:
> Hey guys
>
> I am rather confused that I am getting crossed information when
> calling snd_names_list
> and snd_pcm_info in order to gather information about pcm devices.
>
> I have two sound cards in my development pc: RME Digi 96/8 PCI and an
> onboard VIA 8237.
>
> I'm trying to develop a piece of code that generates a list of objects
> containing pcm device information, including information on virtual
> devices.

I think ALSA's new device enumeration API can do this for you.  See
the implementation of aplay -l (or -L, don't remember which) in the
latest alsa-utils.

Lee


More information about the Alsa-devel mailing list