Re: Hiding some of the controls defined in codec driver from machine driver context

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

 



On Sun, 08 Jul 2018 10:13:55 +0200,
Giedrius Trainavičius wrote:
> 
> Hello,
> 
> Is it possible to 'hide' some of the controls of the codec in the machine
> driver? The codec I'm using exposes many advanced controls which are useful
> for board developers, but not for the end user, so I'd like to define my
> own 'simplified' controls, and take care of board specific logic internally
> in the machine driver.
> 
> I found this old discussion on the topic:
> https://www.spinics.net/lists/alsa-devel/msg36386.html - I'm targeting
> kernel 4.14, maybe there's already some means to achieve this?

It is possible, but whether it's appropriate is another question.
You can turn the active / inactive state of each ctl via
snd_ctl_activate_id() function on the fly, for example.


Takashi
_______________________________________________
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