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

Paul Fox pgf at foxharp.boston.ma.us
Mon Jul 24 06:19:25 MDT 2006


erik wrote:
 > On Sun, Jul 23, 2006 at 10:29:07PM -0600, Jon Trulson wrote:
 > >         Hmm... It should setup default gains and recsrc if mixerinit
 > >         is true.
 > 
 > That's my opinion as well.
 > 
 > >         It should probaby setup these defaults every time it
 > >         opens the device, shouldn't it?
 > 
 > I don't think so. The defaults should be applied the first time the
 > device is opened. After that the last set values should be activated
 > (what is done now to keep the changes made while the device was
 > released).

but isn't the point of releasing the device that you want to play
well with other users of the device?  in that case, shouldn't you
touch nothing at all on a re-acquire of the device?  seems to me
the server should query the device for current settings when it
re-opens, and start from there.

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



More information about the Nas mailing list