On 21/11/12 00:43, Mark Brown wrote:
On Tue, Nov 20, 2012 at 03:14:30PM +0000, Liam Girdwood wrote:
On 20/11/12 03:27, Mark Brown wrote:
With coefficeints we have been moving towards a model where we just expose them as binary controls rather than doing the enumeration thing.
For ABE we have different coefficients tied to each enumerated EQU kcontrol setting and just configure the ABE coefficient depending on the kcontrol value. We load the coefficients and EQU kcontrol at the same time since it's enumerated text strings are coupled to the coefficients.
So, the text strings for coefficients were what drivers used to be using
Yeah, it will be your standard alsamixer enum kcontrol strings e.g. for the ABE DL1 EQU has "Flat Response", "800Hz HPF 0dB", "800Hz HPF -12dB", "800Hz HPF -20dB", "4000Hz LPF 0dB" where the settings are tied to the associated blob of coefficients.
Liam