On Mon, Apr 04, 2011 at 07:23:05AM -0400, Paul Davis wrote:
you mean with alsactl, right? because amixer can
definitely do this
(that's why i use it in that script i posted).
AFAIK amixer (and the ALSA calls it uses) can't read the mixer
state, only write it. Which is why hdspmixer has to initialise
the card to a stored state to get the GUI and the actual HW in
sync.
RME MADI cards don't have a mixer, just output gain controls.
Alsactl will read and write those, 32768 is unity gain.
Ciao,
--
FA