Enumerating PCM devices

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

 



Hi Alsa developers/users,

I'm using snd_device_name_hint("pcm"..) and then
snd_device_name_get_hint(.."NAME") to get the NAME parameter of pcm
devices.
>From what I understand each sound card can have multiple PCM devices.

Is it true that all sound cards that support Alsa will *always* have
"default" pcm device? I'm more inclined towards using
"default:CARD=<vendor>" as the
parameter to snd_pcm_open(). This way if the program configures
hardware params for any number of channels then the appropriate PCM
device will be selected on the sound card, correct?

Thanks,
Bankim.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux