[alsa-devel] Template Based Coefficients Setting for Filters

Takashi Iwai tiwai at suse.de
Wed Aug 10 08:17:27 CEST 2011


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


More information about the Alsa-devel mailing list