2012-11-1 下午11:01 於 "Vinod Koul" vinod.koul@linux.intel.com 寫道:
On Thu, 2012-11-01 at 14:25 +0000, Mark Brown wrote:
On Wed, Oct 31, 2012 at 07:37:31PM +0530, Vinod Koul wrote:
Is there any limitation on maximum number of controls we can have.
I had some platform side controls to represent DSP and adding them
made
some of codec controls to vanish. And looks like if I register these platform controls not all codec controls are visible in userpsace. Is there nay max limit I am hitting?
Not that I'm aware of beyond sizeof() type stuff which you're probably still a way away from. How are you listing the controls and are there any name collisons?
alsa_amixer -c"cardname" controls
if there isn't anything in kernel which limits this, would there be something in alsa-lib to have this kind of behavior?
--
those inactive controls are not listed by amixer
try alsactl store -f foo.state