
23 Jul
2010
23 Jul
'10
1:12 p.m.
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.
http://www.alsa-project.org/alsa-doc/alsa-lib/group___config.html
Sebastian