deduce amixer commands?

Tom Horsley tom.horsley at att.net
Mon Oct 26 23:18:03 UTC 2009


I can go into the alsamixer app, and enable spdif output
on my soundcard and get mplayer to passthrough pcm encoded
dvd tracks and wot-not.

Now I want to automate it, but things like "amixer scontents"
produces such an immense amount of gibberish, I can't figure
out what actually changed (and someone, somewhere is translating
the gibberish control names to completely different labels in
the alsamixer screens :-).

Is there an amixer option I'm not seeing that says "output
the amixer commands required to reproduce this state"?

I'd like to just add one simple amixer command to my
dvd player script.




More information about the users mailing list