ainit.conf - phpMan

Command: man perldoc info search(apropos)  


AINIT.CONF(5)                                                    AINIT.CONF(5)



NAME
       ainit.conf - configuration file for ainit

DESCRIPTION
       ainit.conf  provides  configuration for ainit utility. It’s a classic ini file with
       keys and their values. For example value

       template_0 = /etc/alsa/pcm/dmix.template
       template_1 = /etc/alsa/pcm/dsnoop.template

       tells ainit where the configuration template files reside. Values in ainit.conf can
       be boolean (yes/no) or string.

       All characters behind ’#’ are treated as comments and ignored.


       enabled
              Boolean value, enable/disable ainit tool. The default value is:

              enabled = yes


       overwrite
              Boolean  value,  tells  ainit  whether it can overwrite target configuration
              file, if exists.  (It’s useful for users who would like  to  use  their  own
              configuration file and don’t want to use the default one). The default value
              is:

              overwrite = no


       template_n
              String value, tells ainit the name and location of template  files.  If  you
              use  special  strings  ’~’  or ’$HOME’ ainit will expand them to the path to
              logged in user’s home directory. The default values are

              template_0 = /etc/alsa/pcm/dmix.template
              template_1 = /etc/alsa/pcm/dsnoop.template

              But you can use

              template_0 = ~/.asoundrc.template

              and every user can have his own template file.

              Ainit can handle up to ten templates (from template_0 to template_9) and you
              don’t have to set every one.


       target_n
              String  value,  tells  ainit the name and location of the ALSA configuration
              files and also the lock files which have ’.lock’ extension  in  addition  to
              the  configuration  file  name.  Eventual  ’~’ or ’$HOME’ will be treated as
              explained above. The default value is

              target_0 = /etc/alsa/pcm/dmix.conf
              target_1 = /etc/alsa/pcm/dsnoop.conf

              i.e. all users share ALSA configuration files.


       target_root_file_n
              Boolean value, enable/disable root rights for a target file (e.g. if  you’re
              writting a target files to system directories).



EXAMPLE
       #
       # Sample configuration file for ainit
       #

       #
       # enable/disable ainit
       #
       enable = yes

       #
       # overwrite target files, if exist
       #
       overwrite = yes

       #
       # first config file - for dmix plugin
       #
       template_0 = /etc/alsa/pcm/dmix.template
       target_0  = /etc/alsa/pcm/dmix.conf
       target_root_file_0 = yes

       #
       # second config file - for dsnoop plugin
       #
       template_1 = /etc/alsa/pcm/dsnoop.template
       target_1 = /etc/alsa/pcm/dsnoop.conf
       target_root_file_1 = yes



SEE ALSO
       Also ainit(8), ainit.template(5)


AUTHOR
       Martin Stransky <stransky AT redhat.com>



Red Hat Inc.                      11 May 2005                    AINIT.CONF(5)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2009-01-08 07:55 @38.103.63.58 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!