All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Sayem Ahmed <sayem64@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Opening a PCM device in shared mode
Date: Sat, 26 Nov 2011 21:13:39 +0100	[thread overview]
Message-ID: <4ED14873.7030006@ladisch.de> (raw)
In-Reply-To: <4ED1144F.8080100@gmail.com>

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.


Regards,
Clemens

      reply	other threads:[~2011-11-26 20:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-20  8:54 Opening a PCM device in shared mode Sayem Ahmed
     [not found] ` <C516192DA6D2B74F8192CDC209D958FD5834F34861@dr-mail>
2011-11-21 11:11   ` Sayem Ahmed
2011-11-24 17:31     ` Clemens Ladisch
2011-11-26 16:31       ` Sayem Ahmed
2011-11-26 20:13         ` Clemens Ladisch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED14873.7030006@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=sayem64@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.