From: Clemens Ladisch <clemens@ladisch.de>
To: Anders Gnistrup <agn@datarespons.dk>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: What is wrong in this code.
Date: Wed, 19 Oct 2011 09:41:33 +0200 [thread overview]
Message-ID: <4E9E7F2D.2050906@ladisch.de> (raw)
In-Reply-To: <C516192DA6D2B74F8192CDC209D958FD5830652575@dr-mail>
(quoting fixed)
Anders Gnistrup wrote:
> Clemens Ladisch wrote:
> > Anders Gnistrup wrote:
> > > The code works just as expected when using the:
> > > snd_ctl_elem_id_set_name(id, "PCM Playback Volume");
> > > But when I use the snd_ctl_elem_id_set_numid(id, numid); (with numid=23) it fails.
> >
> > When using the numid to access elements, it must be the only field
> > that is set in the elem id.
>
> I have tried just that, but is still does not work.
I looked at the source; with the hctl functions, searching by numid is
not supported at all.
Regards,
Clemens
prev parent reply other threads:[~2011-10-19 7:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 13:18 What is wrong in this code Anders Gnistrup
2011-10-18 15:11 ` Clemens Ladisch
2011-10-19 7:05 ` Anders Gnistrup
2011-10-19 7:41 ` 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=4E9E7F2D.2050906@ladisch.de \
--to=clemens@ladisch.de \
--cc=agn@datarespons.dk \
--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