[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nas] 2 possible patches for the 1.9.1 version
=?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@xxxxxxxxxxxxxxxxxxxx (arlington, ma, where it's 46.0 degrees)