All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tanjeff Moos <tanjeff@cccmz.de>
To: alsa-devel@alsa-project.org
Subject: control: snd_ctl_open(): which names are acceptable?
Date: Sun, 13 Sep 2020 16:41:56 +0200	[thread overview]
Message-ID: <b0202d71-7af1-1461-51fb-962f918a5ca0@cccmz.de> (raw)

Hello Alsa developers,

I'm currently enhancing the libalsa API documentation. In the process, I
try to understand how each API function works and what the underlying
concepts are.

The snd_ctl_open() call takes a name, which is a C string (const char*).
For my sound card, the names "hw:CARD=PCH" and as well as "hw:2" (2 is
the card index) worked.

Which strings are acceptable as name? Are there maybe even more formats?
Is there some documentation on this?

Regards, Tanjeff

                 reply	other threads:[~2020-09-13 14:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=b0202d71-7af1-1461-51fb-962f918a5ca0@cccmz.de \
    --to=tanjeff@cccmz.de \
    --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 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.