[nas] 2 possible patches for the 1.9.1 version

Paul Fox pgf at foxharp.boston.ma.us
Fri Nov 2 10:31:54 MDT 2007


=?utf-8?b?rnjhbmsgqso8dhruzxi=?= wrote:
 > nas-1.9/server/dda/voxware/auvoxware.c.leave-the-mixer-alone-it's-not-your-job
 > nas-1.9/server/dda/voxware/auvoxware.c
 > ---
 > nas-1.9/server/dda/voxware/auvoxware.c.leave-the-mixer-alone-it's-not-your-job
 > 2007-11-02 11:27:04.000000000 -0400
 > +++ nas-1.9/server/dda/voxware/auvoxware.c	2007-11-02 11:27:56.000000000
 > -0400
 > @@ -467,8 +467,9 @@ mixerInputModeToNAS(int input_mode)
 >  static void
 >  setMixerDefaults(void)
 >  {
 > -    setPhysicalOutputGain(auDefaultOutputGain);
 > -    setPhysicalInputGainAndLineMode(auDefaultInputGain,
 > AuDeviceLineModeLow);
 > +    /* Do not mess with the mixer defaults. */
 > +    /* setPhysicalOutputGain(auDefaultOutputGain); */
 > +    /* setPhysicalInputGainAndLineMode(auDefaultInputGain,
 > AuDeviceLineModeLow); */
 >  }
 > 

that doesn't seem like a very friendly thing to do to
a routine called "setMixerDefaults()".  :-)

did you look at the code?  there's a config option for this, isn't there?

    MixerInit "no"

paul
=---------------------
 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 46.0 degrees)



More information about the Nas mailing list