[nas] [PATCH] consistent gain setting in voxware server

Erik Auerswald auerswal at unix-ag.uni-kl.de
Fri Jul 21 12:03:50 MDT 2006


Hi,

On Fri, Jul 21, 2006 at 06:11:10PM +0200, Erik Auerswald wrote:
> On Thu, Jul 20, 2006 at 05:54:10PM -0600, Jon Trulson wrote:
> > On Thu, 20 Jul 2006, Erik Auerswald wrote:
> > >On Wed, Jul 19, 2006 at 09:17:16PM -0400, Paul Fox wrote:
> > >>erik wrote:
> > >>>   Perhaps a config option to use a seperate input selection call and to
> > >>>   control the IGain mixer value could be added to the voxware server
> > >>>   (if someone finds out how to change these values...).
> > >>
> > >>i think that in general, there should be mappings available of
> > >>"user level" channels to "driver channels" to "hardware channels",
> > >>so that problems like this can be solved easily via config.
> > >
> > >Well, I don't know enough about sound programming and the involved
> > >drivers to do this. :-(
> > 
> >         If I understand you properly, what you would like is the
> >         ability to set a default input gain, individually, for the mic
> >         and line, rather than a single gain applied to both?
> 
> No. I want to connect the "input gain" and "line mode" options of aurecord
> via the mixer controls in the voxware server to the correct mixer controls
> in the sound driver.

I think I found the problem: Currently the voxware server enables both the
mic and line recording sources at the same and uses their individual
gain settings to select just one for recording. This does not work for
my hardware since only one input source can be active.

The proper way would be to enable just the recording source that shall
be used.

I would assume that the IGain mixer channel should be used to set the
recording gain. I do not know what happens on hw where the current
scheme works if IGain and setting the single input source are used
instead.

I'll continue testing and write a patch to make the voxware server set
IGain and one recording source.

Erik



More information about the Nas mailing list