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

Jon Trulson jon at radscan.com
Tue Jul 25 18:07:09 MDT 2006


On Tue, 25 Jul 2006, Erik Auerswald wrote:

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

         Thanks, and agreed :)

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

         Definitely, but I cannot remember anyone ever asking for
         this... And if you really wnt it, you can just use a bogus
         mixer device in nasd.conf.

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

         Ok.

>>>>  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
>

-- 
Jon Trulson
mailto:jon at radscan.com http://radscan.com/~jon
#include <std/disclaimer.h>
"No Kill I" -Horta




More information about the Nas mailing list