Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-13 Thread Takashi Iwai
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

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-12 Thread Brian J. Murrell
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 .asoundr

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-12 Thread Takashi Iwai
At Thu, 07 Jun 2007 22:46:42 +0200, Ingo Müller wrote: > > Hi! > > Can't you put something like > > <$HOME/.asoundrc.machine1> > > in /etc/asoundrc of machine 1 and > > <$HOME/.asoundrc.machine2> > > in /etc/asoundrc of machine 2? This won't work because alsa-lib stops with error when no fil

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-12 Thread Takashi Iwai
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 igno

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-12 Thread Takashi Iwai
At Wed, 06 Jun 2007 15:53:48 -0400, Brian J. Murrell wrote: > > On Wed, 2007-06-06 at 16:57 +0200, Takashi Iwai wrote: > > With the patch below, > > This is a source patch? If so, this will not work either as I may not > necessarily have the authority to patch the alsa libs on every machine I >

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-08 Thread Jonathan Stowe
On Wed, 2007-06-06 at 15:53 -0400, Brian J. Murrell wrote: > On Wed, 2007-06-06 at 16:57 +0200, Takashi Iwai wrote: > > With the patch below, > > This is a source patch? If so, this will not work either as I may not > necessarily have the authority to patch the alsa libs on every machine I > migh

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-07 Thread Ingo Müller
Hi! Can't you put something like <$HOME/.asoundrc.machine1> in /etc/asoundrc of machine 1 and <$HOME/.asoundrc.machine2> in /etc/asoundrc of machine 2? If this doesn't work (sorry, I don't have any linux machine nearby), this code should as it's from the official documentation: @hooks [

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-07 Thread Brian J. Murrell
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:

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-07 Thread James Courtier-Dutton
On 07/06/07, Brian J. Murrell <[EMAIL PROTECTED]> wrote: > On Thu, 2007-06-07 at 14:36 +0100, James Courtier-Dutton wrote: > > So, you can see, simply having a /etc/asound.conf file instead of a > > .asoundrc file will give you your host specific functionallity. > > But not user specific. I want u

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-07 Thread Brian J. Murrell
On Thu, 2007-06-07 at 14:36 +0100, James Courtier-Dutton wrote: > So, you can see, simply having a /etc/asound.conf file instead of a > .asoundrc file will give you your host specific functionallity. But not user specific. I want user-specific and host-specific. This scenario really is not that

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-07 Thread James Courtier-Dutton
On 06/06/07, Brian J. Murrell <[EMAIL PROTECTED]> wrote: > I have a shared home dir on multiple machines. I have a .asoundrc file > for my local workstation but it contains stuff that is local to this > machine. When I go to another machine the stuff that's in my > ~/.asoundrc is not relevant. >

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Brian J. Murrell
On Wed, 2007-06-06 at 12:58 -0700, Bill Unruh wrote: > > So have .asoundrc as a link to say /etc/asoundrc, a common machine > resource. > ln -sf /etc/asoundrc .asoundrc > will read a different version of asoundrc depending on the machine. Of > course this implies that you want a common asoundrc,

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Brian J. Murrell
On Wed, 2007-06-06 at 23:23 +0300, Sergei Steshenko wrote: > Well, I naively supposed the person listens to music only at one machine > at a time. This is way beyond "listening to music" though. This is libasound wanting to open ~/.asoundrc every time an application that is linked with libasound

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Sergei Steshenko
On Wed, 06 Jun 2007 15:51:39 -0400 "Brian J. Murrell" <[EMAIL PROTECTED]> wrote: > On Wed, 2007-06-06 at 17:40 +0300, Sergei Steshenko wrote: > > > > Well, it to assume there is only one process which uses .asoundrc you > > can generated it dynamically, calling the generator from > > .cshrc, .bas

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Bill Unruh
On Wed, 6 Jun 2007, Brian J. Murrell wrote: > On Wed, 2007-06-06 at 17:40 +0300, Sergei Steshenko wrote: >> >> Well, it to assume there is only one process which uses .asoundrc you >> can generated it dynamically, calling the generator from >> .cshrc, .bashrc, .whatever_your_login_shell_is; the ge

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Brian J. Murrell
On Wed, 2007-06-06 at 16:57 +0200, Takashi Iwai wrote: > With the patch below, This is a source patch? If so, this will not work either as I may not necessarily have the authority to patch the alsa libs on every machine I might want to log into. b. -- My other computer is your Microsoft Window

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Brian J. Murrell
On Wed, 2007-06-06 at 17:40 +0300, Sergei Steshenko wrote: > > Well, it to assume there is only one process which uses .asoundrc you > can generated it dynamically, calling the generator from > .cshrc, .bashrc, .whatever_your_login_shell_is; the generator script > will generate contents depending

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Takashi Iwai
At Wed, 06 Jun 2007 09:04:01 -0400, Brian J. Murrell wrote: > > I have a shared home dir on multiple machines. I have a .asoundrc file > for my local workstation but it contains stuff that is local to this > machine. When I go to another machine the stuff that's in my > ~/.asoundrc is not releva

Re: [Alsa-user] per host .asoundrc on shared $HOME

2007-06-06 Thread Sergei Steshenko
On Wed, 06 Jun 2007 09:04:01 -0400 "Brian J. Murrell" <[EMAIL PROTECTED]> wrote: > I have a shared home dir on multiple machines. I have a .asoundrc file > for my local workstation but it contains stuff that is local to this > machine. When I go to another machine the stuff that's in my > ~/.aso