[alsa-devel] SoC scenarii API

Mark Brown broonie at sirena.org.uk
Sun Mar 8 20:17:56 CET 2009


On Fri, Feb 20, 2009 at 08:04:24PM +0100, Robert Jarzmik wrote:

> As a side note, I'm a bit bothered by your comment about using
> "snd_ctl_elem_value" instead of integers in structure soc_scen_setup_mix. My
> concern is about size : snd_ctl_elem_value is huge, and as there will be many
> mixes/muxes, the memory print will be huge. Can't we deal with only integers for
> mixers and muxes ?

I don't think it'd be acceptable to limit this to only working with a
subset of controls, that'd mean that any controls that don't happen to
fit in an integer.  Allowing for a pointer to an out of line value would
deal with the size issue, I'd expect.


More information about the Alsa-devel mailing list