From: Clemens Ladisch Subject: Re: What is wrong in this code. Date: Wed, 19 Oct 2011 09:41:33 +0200 Message-ID: <4E9E7F2D.2050906@ladisch.de> References: , <4E9D9736.5070801@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by alsa0.perex.cz (Postfix) with ESMTP id CCBA9243C1 for ; Wed, 19 Oct 2011 09:40:15 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Anders Gnistrup Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org (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