[alsa-devel] Clarrification about the alsa volume init framework.

Takashi Iwai tiwai at suse.de
Tue May 24 12:47:03 CEST 2011


At Tue, 24 May 2011 08:40:07 +1000,
Luke Yelavich wrote:
> 
> On Tue, May 10, 2011 at 05:18:16PM EST, Takashi Iwai wrote:
> > alsactl init should be able to handle different hardware, in general.
> > Though, the current file handling (reading all explicitly from 00main)
> > doesn't look good for easy extensions.  If you want to add a new h/w-
> > specific init file, you'll need to modify 00main as well.  It'd be
> > better to look up all files (preferably with some extension like
> > "*.conf") in a directory, so that we need to just put a new file for a
> > new init quirk.
> > 
> > I know there are possibilities in preinit/* and postinit/*, but then I
> > see no reason why main directory isn't managed in that way.
> > 
> > Jaroslav, what do you think?
> 
> Just bringing this up to the top of the pile again, as I'd like to start moving one way or another on this, so I can get testing from users.

You can implement the h/w specific stuff even in the current alsactl
init files.  We can change the better file management style later.

Check alsa-utils/alsactl/init/00main and other files there, go ahead
to add more entries you have gathered.  The syntax is simple.


thanks,

Takashi


More information about the Alsa-devel mailing list