Re: open sound device from asound.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> 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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux