[nas] [PATCH] changed method of setting the input gain
Paul Fox
pgf at foxharp.boston.ma.us
Tue Jul 25 05:55:25 MDT 2006
erik wrote:
> On Mon, Jul 24, 2006 at 11:12:18PM -0400, Paul Fox wrote:
> > - i want nas to always use *and report* the current mixer settings.
> > if another app uses and adjusts the mixer, i want nas to notice
> > that, so that clients can see that it's happened.
>
> The only way to achieve this is to keep the mixer device open. I would
> be happy with this as well since then NAS mixer changes would immediatly
> affect the audio hardware. The setting of last used values on reopen
> would then not be necessary.
>
> Several programs can use the mixer device at the same time so this
> should not be problematic.
ah. i think this was the missing piece, for me -- that while only
one program can have the pcm device open, more than one can have the
mixer open.
do you think it even needs to be configurable? any reason not to
just leave the mixer open all the time (assuming we're not configured
to never use it at all)? if configurable, it seems like it should
be a boolean, separate from the mixerinit options being discussed.
btw, i think i like the idea of having finer-grained boolean options,
rather than a large set of mixerinit values. but you two have a idea
of how that should work, so i'll leave that up to you.
paul
=---------------------
paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 65.8 degrees)
More information about the Nas
mailing list