[alsa-devel] ALSA Control Interface - default values?

Mark Brown broonie at opensource.wolfsonmicro.com
Mon May 10 17:31:57 CEST 2010

On Mon, May 10, 2010 at 04:25:07PM +0200, Max Klein wrote:

> thanks for fast reply, may you tell me how the driver can set the defaults?

> EDIT: whoops, I guess it was an	error in reasoning from myself...as I have the control of all those variables outputted by the get and put callbacks, I just have to initialize those variables before initializing the control interface, right?

Yes, the driver just needs to make sure that whatever it uses to return
the current setting when queried is going to give the right answer from
the time the control is set up, normally by initialising variables
though if you're doing things like read data back from hardware then you
may be able to rely on the hardware defaults.

[Re-adding CC to alsa-devel - it's normal to do a reply to all for Linux

More information about the Alsa-devel mailing list