[alsa-devel] Opening a PCM device in shared mode

Clemens Ladisch clemens at ladisch.de
Sat Nov 26 21:13:39 CET 2011

Sayem Ahmed wrote:
> On 11/24/2011 11:31 PM, Clemens Ladisch wrote:
> > Is there a reason why your application needs to
> > duplicate this?
> Yes. Clients would like to install multiple sound cards into
> their system so that they can perform multiple VoIP calls at
> the same time.

Use snd_card_next() to enumerate cards.
To open the default device of a specific card, try device name
"default:CARD=x", but this won't work if the user has redefined
the "default" device definition.


More information about the Alsa-devel mailing list