Re: per host .asoundrc on shared $HOME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 11 Jun 2007 10:49:27 -0400,
Brian J. Murrell wrote:
> 
> On Mon, 2007-06-11 at 16:15 +0200, Takashi Iwai wrote:
> > At Thu, 07 Jun 2007 10:23:42 -0400,
> > Brian J. Murrell wrote:
> > > 
> > > On Thu, 2007-06-07 at 15:02 +0100, James Courtier-Dutton wrote:
> > > > You put the host specific stuff in /etc/asound.conf
> > > > You put the user specific stuff in .asoundrc
> > > > Both files are loaded.
> > > 
> > > Hrm.  Perhaps I'm showing my ignorance in the contents of these files.
> > > 
> > > Currently my .asoundrc has:
> > > 
> > >         # ALSA library configuration file
> > >         
> > >         # Include settings that are under the control of asoundconf(1).
> > >         # (To disable these settings, comment out this line.)
> > >         </home/brian/.asoundrc.asoundconf>
> > > 
> > > and my .asoundrc.asoundconf has:
> > > 
> > >         ALSA library configuration file managed by asoundconf(1).
>                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >         #
> > >         # MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
> > >         #
> > >         # Manual changes to the ALSA library configuration should be implemented
> > >         # by editing the ~/.asoundrc file, not by editing this file.
> > >         !defaults.pcm.card Live
> > >         defaults.ctl.card Live
> > >         defaults.pcm.device 0
> > >         defaults.pcm.subdevice -1
> > >         defaults.pcm.nonblock 1
> > >         defaults.pcm.ipc_key 5678293
> > >         defaults.pcm.ipc_gid audio
> > >         defaults.pcm.ipc_perm 0660
> > >         defaults.pcm.dmix_max_periods 0
> > >         defaults.rawmidi.card 0
> > >         defaults.rawmidi.device 0
> > >         defaults.rawmidi.subdevice -1
> > >         defaults.hwdep.card 0
> > >         defaults.hwdep.device 0
> > >         defaults.timer.class 2
> > >         defaults.timer.sclass 0
> > >         defaults.timer.card 0
> > >         defaults.timer.device 0
> > >         defaults.timer.subdevice 0
> > 
> > BTW, any reason to set these values explicitly?
> 
> I didn't set anything explicitly.  Apparently (as underlined above)
> asoundconf(1) did.

Hm, I don't know of such a program, i.e. not included in ALSA
releases.

> > Except for defaults.pcm.card and defaults.ctl.card, they are not
> > necessarily set up at all.  Especially, you should avoid to reset
> > ipc_key & co by yourself unless you know exactly what they mean...
> 
> I suppose asoundconf(1) knows what they mean.

I'm afraid it just copies the values blindly from somewhere...


Takashi

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux