[alsa-devel] Getting a notification of snd_kcontrol value change, defined in codec, in machine driver
Giedrius Trainavičius
giedrius.trainavicius at gmail.com
Sun Jul 8 01:10:59 CEST 2018
Hey,
What would be the best way in machine driver to learn about changes of alsa
mixer control values? The controls are defined in the codec driver.
The intended use case would be to use the current volume setting for the
codec on the board to forward to a dedicated microcontroller for visual
feedback.
I am aware that this could be bridged over via a user space program, but I
will have to forward the current PCM stream format to the MCU anyway from
hw_params, so ideally I would like all of this functionality contained in
the machine driver.
Thank you,
Giedrius.
More information about the Alsa-devel
mailing list