8 Jul
2018
8 Jul
'18
1:10 a.m.
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.