From: Takashi Iwai Subject: Re: Template Based Coefficients Setting for Filters Date: Wed, 10 Aug 2011 08:17:27 +0200 Message-ID: References: <1312893236.8316.51.camel@matrix> <20110809151630.GB3429@sirena.org.uk> <4E416C1F.6030301@gmail.com> <20110809212824.GA4241@sig21.net> <20110809233357.GA22756@opensource.wolfsonmicro.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 5BC382452D for ; Wed, 10 Aug 2011 08:17:28 +0200 (CEST) In-Reply-To: <20110809233357.GA22756@opensource.wolfsonmicro.com> 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: Mark Brown Cc: Steve Calfee , alsa-devel@alsa-project.org, Ashish Chavan List-Id: alsa-devel@alsa-project.org At Wed, 10 Aug 2011 08:33:58 +0900, Mark Brown wrote: > > On Tue, Aug 09, 2011 at 11:28:24PM +0200, Johannes Stezenbach wrote: > > On Tue, Aug 09, 2011 at 10:19:27AM -0700, Steve Calfee wrote: > > > > Could you expand on this. Neither google or lxr found anything about > > > _BYTES controls. Where is it defined in the source? > > > I've written a driver for ST32x, it will be in 3.1. My patch > > to use _BYTES controls were posted here not long ago, see > > http://thread.gmane.org/gmane.linux.alsa.devel/87063 > > $ grep _BYTES include/sound/*.h sound/core/*.c Better use the power of git :) % git grep SNDRV_CTL_ELEM_TYPE_BYTES include/sound/asound.h:#define SNDRV_CTL_ELEM_TYPE_BYTES ((__force snd_ct sound/core/control.c: case SNDRV_CTL_ELEM_TYPE_BYTES: sound/core/control_compat.c: case SNDRV_CTL_ELEM_TYPE_BYTES: sound/i2c/cs8427.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; sound/i2c/other/ak4113.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; sound/i2c/other/ak4114.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; sound/i2c/other/ak4117.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; sound/pci/ice1712/aureon.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; sound/pci/ice1712/ice1712.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; sound/pci/ice1712/ice1724.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; sound/soc/codecs/sta32x.c: uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; Takashi