19 Apr
2007
19 Apr
'07
5:46 p.m.
On 4/19/07, nick smethurst nick.smethurst@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