[nas] [PATCH] changed method of setting the input gain

Paul Fox pgf at foxharp.boston.ma.us
Mon Jul 24 20:58:24 MDT 2006


hi...  again.  :-)

erik wrote:
 > 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
 > use.

i guess i still don't understand why you'd want the volume to
jump around between apps.  but you understand your use better than,
of course, so i believe you need what you need.

 > 
 > 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. ;-)

well, let's admit that the gainscale patch really belongs at the
driver level, and not in nas -- if i could have that
functionality in alsa, i'd be all set.  but let's also admit that
jon's going to be far more easy-going about accepting this change
than the alsa guys are, so i'm taking the path of least
resistance. ;-)  so yes, the gain-scaling will make local mixer
control less appealing, but in this case i'm willing to take that
hit.

having read all of your and jon's mail, i'll say that since it
sounds like you're probably implementing a multi-valued mixerinit
mode, at best one of the modes you're planning will cover my use
case, and at worst, i'll have to add one more mode to do so.

i'll re-read jon's list of modes, and respond separately...

paul
=---------------------
 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 66.6 degrees)



More information about the Nas mailing list