[alsa-devel] [PATCH 1/2 v2] ALSA: Add snd_ctl_update() to dynamically update a control
superquad.vortex2 at gmail.com
Wed Mar 16 09:05:01 CET 2011
2011/3/16 Dimitris Papastamos <dp at opensource.wolfsonmicro.com>
> On Tue, Mar 15, 2011 at 03:17:58PM +0100, Clemens Ladisch wrote:
> > > A separate patch needs to be made to make ALSA Mixer cope with this.
> > What happens?
> It doesn't break or anything hopefully. It will probably need support for
> handling the update of the controls (without exiting and starting it
> again). I've only tested it against alsa-utils 1.0.20 and it worked
> fine with a few changes (updating the controls on the fly).
It depend on how the driver update control, since snd_mixer_selem just
combine "volume" and "switch" controls of same name into a single selem
if the driver just change the name of volume control, I guess alsamixer
still need to reload the mixer
More information about the Alsa-devel