Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: alsa-devel@alsa-project.org
Subject: Re: Simple Mixer help
Date: Thu, 30 Apr 2015 16:39:01 +0200	[thread overview]
Message-ID: <55423E85.3000406@ladisch.de> (raw)
In-Reply-To: <CAPaK8baHETB0trSEug0Qv7ZiA7M7tUcCrK6YiDiDdQC-LeD8_g@mail.gmail.com>

Bram Bos wrote:
>      const char *card = "hw2"; // just for this example, don't hard-code this!

"hw2" is not the same as "hw:2".

>      const char *selem_name = "PCM"; // for some reason Master didn't work, but PCM does...

This must be the name of a mixer element implemented by the card.
(Some USB devices don't have any.)


Regards,
Clemens

      reply	other threads:[~2015-04-30 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29 14:15 Simple Mixer help Bram Bos
2015-04-30  8:29 ` Bram Bos
2015-04-30  9:53   ` Takashi Iwai
2015-04-30 11:51     ` Bram Bos
2015-04-30 14:39       ` 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=55423E85.3000406@ladisch.de \
    --to=clemens@ladisch.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox