9 Jun
2015
9 Jun
'15
12:32 p.m.
On Tue, 9 Jun 2015, Clemens Ladisch wrote:
Ricard Wanderlof wrote:
Can "alsactl restore" be run before the device is opened then?
Many distributions run "alsactl restore" in some startup script. You can execute it yourself whenever you want.
What I was getting at was that although I can't do:
$ amixer sset Capture 192
if Capture is defined by the softvol plugin, and I haven't opened the device prior to running amixer, however
$ alsactl restore 0:
works, assuming that I've saved the settings previously, even before the device is opened. I can understand that this is very useful and desired, but given that the underlying control does not yet exist, it puzzles me that it actually works.
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30