I had a bit of a head scratching moment – I thought I had implemented things wrong, but as far I can tell, it’s correct. This in turn hooks into ALSA’s snd_mixer_selem_set_playback_dB_all
which
Set value in dB of playback volume control for all channels of a mixer simple element.
But if the driver use two separate mixers for each channel, then it should also probably provide a Master
mixer that maps to both these channels as stereo.
You can then of course set them independently for that perfect balance
amixer sset Master 40%,42%
Anyone from allo on here? Thoughts?
Okay, peeking at the driver’s source indicates that things should work as expected with the new driver?