Re: ALSA Control Interface - default values?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
lists.]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux