[alsa-devel] Softvol only after device has opened

Ricard Wanderlof ricard.wanderlof at axis.com
Tue Jun 9 16:45:32 CEST 2015


On Tue, 9 Jun 2015, Takashi Iwai wrote:

> > > Have a look at /var/lib/asound.state.  "alsactl store" marks any user-
> > > space controls; when "alsactl restore" sees this flag, it will explicitly
> > > recreate the control.
> > 
> > And there is no other way to recreate the control using an application 
> > than to use alsactl then?
> 
> There is other way, of course.  It's no magic.  alsactl just creates a
> user-space control element using the normal API.

Yes, of course that's doable, I was wondering if there's some other 
application that I don't know about that could do it. I.e. if there's a 
startup script that normally uses amixer to set up default settings, is it 
possible to add something to that script rather than to write a separate 
application to create the user control, which of course is doable too.

/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


More information about the Alsa-devel mailing list