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

Erik Auerswald auerswal at unix-ag.uni-kl.de
Mon Jul 24 23:38:21 MDT 2006


Hi,

On Mon, Jul 24, 2006 at 11:24:42PM -0600, Jon Trulson wrote:
> On Tue, 25 Jul 2006, Erik Auerswald wrote:
> >On Mon, Jul 24, 2006 at 07:16:18PM -0600, Jon Trulson wrote:
> >>
> >>        So NAS clients would not be able to alter their gains for
> >>        instance?
> >
> >That's the idea. NAS would not use the mixer at all as if there was no
> >mixer.
> 
>         Hmm.. I can see the bug reports now :) I'm not sure that's
>         wise.  I can understand not touching them unless specifically
>         asked to by a client, but ignoring a client's legitimate
>         request seems unwise.

I won't insist on this option and we should first sort the MixerInit
thing out... ;-)

A documented option to not use any mixer and a NAS server reporting no
changes to the mixer settings seems OK for me. This should not be the
default behaviour...

> >>  across the living room, after I've used NAS xmms at too loud a
> >>  volume :)
> >
> >The RestoreMixer option could indeed help here. ;-)
> >
> 
>         Might be preferable for some... But can be handled
>         independantly of any mixer init changes.

I don't think such an option would be useful anymore. Just as Paul wrote
this is not common for audio apps with mixer capabilites.

> >>  Yeah, lets discuss the mixer init stuff and find something we can
> >>  all be happy with :)
> >
> >I've attached a patch that does what I think "mixerinit = no" should do
> >(and keeps the current behaviour for "mixerinit = yes").
> >
> 
>         I've applied this.. it seems to make sense.

Thanks. Now we should have the equivalent of your MixerInit 0 and 1
ideas.

Erik



More information about the Nas mailing list