[nas] [PATCH] changed method of setting the input gain
auerswal at unix-ag.uni-kl.de
Mon Jul 24 20:40:50 MDT 2006
On Mon, Jul 24, 2006 at 09:33:17PM -0400, Paul Fox wrote:
> here's my initial response to erik. i'm still digesting jon's
> responses. i have a feeling there's something i'm missing, but
> haven't put my finger on it yet.
I'll try to condense my answer a bit will primarily describe my use
> we clearly have very different use cases: in particular, it's
> _exactly_ the case that i'd like to be able to adjust the volume
> using a local mixer (e.g., aumix) and have the settings remain
> sticky when NAS resumes. currently things are asymmetric. if i
> run a nas-aware mixer on two client machines:
> clientA$ audiooss aumix
> clientB$ audiooss aumix
> and a non-nas-aware mixer on the server:
> server$ aumix
> then the one on the server will track changes made in either client, and
> the client will track changes made in each other, but they won't track
> changes made on the server.
> it seems like you're trying to use NAS as a
> way of pretending you have more than one device, when that isn't
> the case. there's only one device, and mixer control should be
> uniform among all apps, local or remote (via nas) that are using the
> again, you're treating NAS apps as a different class of app from local
> apps. i don't understand this.
> could you further describe your use case? maybe a more concrete
> example would help me. (my use case is simple: i want to be
> able to control the stereo volume uniformly from any computer in
> the house, including locally from the non-nas mixer controls local to
> the server machine.)
I'm using NAS in a kind of office (the room of the Unix-AG of the
University of Kaiserslautern, a student's group). We have one amplifier
hooked up to one computer running a NAS server. Different people from
different machines use this to play different sounds (music, films, ...)
at different times. And sometimes the same computer is used for running
local games using the local sound hardware (no NAS).
The amplifier is set to a fixed output volume, volume is only controlled
by NAS mixer apps (and sometimes local apps). Therefore we need to
control the volume setting of all NAS applications via NAS mixers and
can allow for some local app to use different values when NAS is not in
So yes, I am treating NAS apps as a different class of applications.
And as you wrote regarding your gainscale patch you sometimes
differentiate between them as well. ;-)
When you design for the future, the sanity you save may be your own.
-- Eric S. Raymond
More information about the Nas