Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sylvain.bertrand@gmail.com
To: alsa-devel@alsa-project.org
Subject: right way to enumerate pcm devices
Date: Tue, 12 Feb 2019 12:33:33 +0000	[thread overview]
Message-ID: <20190212123333.GB6441@freedom> (raw)

Hi,

I got some code based on hints which, unfortunately, seems not sufficient.

I can list the hardware cards, but what is the proper way to enumerate the pcm devices?

For instance, I don't get basic user defined pcm devices, I get all the
surround pcm devices for the USB mic from my webcam etc...
The real question: how I build a clean list of pcm devices I would present to a
user to choose from without confusing him/her?

Wherever I look I get only this hint based code. I presume I am looking the
wrong way.

regards,

-- 
Sylvain

             reply	other threads:[~2019-02-12 12:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-12 12:33 sylvain.bertrand [this message]
2019-02-12 13:36 ` right way to enumerate pcm devices Takashi Iwai
2019-02-12 20:33   ` sylvain.bertrand
2019-02-13  6:25     ` Takashi Iwai
2019-02-13 14:13       ` sylvain.bertrand
2019-02-13 14:33         ` Takashi Iwai
2019-02-13 14:38         ` Jaroslav Kysela
2019-02-13 22:25         ` sylvain.bertrand
2019-02-13 22:43           ` sylvain.bertrand
     [not found]             ` <CA+Owze4OqfSystQ5ZNaF6sO+L-L-FceN5XBPJkqyYf7zjkp+GQ@mail.gmail.com>
2019-02-13 23:11               ` Fwd: " Joël Krähemann
2019-02-14 13:12                 ` sylvain.bertrand

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=20190212123333.GB6441@freedom \
    --to=sylvain.bertrand@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox