On 11/22/21 5:38 AM, Tim wrote:
Thanks Alan - I do agree it isn't a custom feature. The subsystem has "Feature Units" 
which includes "AUDIO_FU_EQUALIZER" as a control. This doesn't seem to be implemented for 
any processors or boards that I can see, nor is there any generic code for this; just the #define 
in include/audio.h.

My thinking now is perhaps to add some sub-feature #defines (e.g. 
AUDIO_FU_SUBEQUALIZER_BASS_BOOST_PLUS6) to be used as subtypes when capabilities are 
queried for AUDIO_TYPE_FEATURE and for the audio_configure function to make use of. As 
far as I see no drivers or apps currently support AUDIO_FU_EQUALIZER so it's unlikely 
anything will get broken doing this, but it will allow me to make use it 
"properly".

Something like that, anyway!

Hey Tim,

You are correct that AUDIO_FU_EQUALIZER feature is not implemented anywhere. There are probably several other "features" that are also not implmented. When I added the audio subsystem circa 2014, I defined the header files and structures to be extensible even before implementing the first actual audio device. That way I could determine if I had the needed control in the structures for expandability. In creating those headers, I included audio features present in USB type audio devices (which I was using as a reference), and that is why the feature is present but not implemented.

Ken

Reply via email to