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

Erik Auerswald auerswal at unix-ag.uni-kl.de
Thu Jul 27 21:03:31 MDT 2006


Hi,

On Fri, Jul 28, 2006 at 04:50:29AM +0200, Erik Auerswald wrote:
> On Thu, Jul 27, 2006 at 06:13:58PM -0600, Jon Trulson wrote:
> > On Thu, 27 Jul 2006, Erik Auerswald wrote:
> > >On Wed, Jul 26, 2006 at 04:10:54AM +0200, Erik Auerswald wrote:
> > >>On Tue, Jul 25, 2006 at 06:31:06PM -0600, Jon Trulson wrote:
> > >>>On Tue, 25 Jul 2006, Paul Fox wrote:
> > >>>>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.
> > [...]
> > 
> >         I have applied this patch.
> 
> Attached patch contains some corrections to this:
> - error handling if ioctl() fails
> - correct detection if ioctl() failed
> - inverse gainScale handling
> - added gainScale handling to input gain (to have consistent behaviour)
> - updated documentation for effect of not having a mixer open
> - added documentation for default values
> - corrected default value of ReleaseDevice in gram.y

- use average of both channels for gain as suggested by Paul Fox.

Erik



More information about the Nas mailing list