[alsa-devel] open sound device from asound.conf

Sebastian H. vand2 at gmx.de
Fri Jul 23 12:12:41 CEST 2010

>>> I want open sound device from /etc/asound.conf with API
>>> snd_pcm_open() but unsuccessfull. As name i'm used:
>> Did you try to open "default", "output" or "dsp0" since these are the
>> names of your pcm defines?
> thanks for reply...
> Yes it works..(device is open) but i don't want open device with "hard coded" 
> name because this name can be changed..I want to use iterations

I'm just a user but I guess you would have to parse the pcm subsection
of the Alsa configuration tree with the snd_config_* functions.



More information about the Alsa-devel mailing list