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

Jon Trulson jon at radscan.com
Thu Jul 20 19:20:28 MDT 2006


On Thu, 20 Jul 2006, Erik Auerswald wrote:

> Hi,
>
> On Wed, Jul 19, 2006 at 11:08:11PM -0600, Jon Trulson wrote:
>> On Thu, 20 Jul 2006, Erik Auerswald wrote:
>>> On Wed, Jul 12, 2006 at 10:35:24PM -0600, Jon Trulson wrote:
>>>> On Wed, 12 Jul 2006, Erik Auerswald wrote:

[...]

> The attached patch implements this. Note that both audemo and aurecord
> set input gain and line mode themselves, overriding any previous
> changes. The changes can be observed when starting to play via the NAS
> server since in- and output device are openend by the same function
> everytime something is played or recorded.
>

         Ok, I've committed this, with a few name changes.  I don't know
         who originally came up with 'Letsplay' as a variable name,
         but..... :)   Thanks, Erik for trying to follow the naming
         convention, even though it was a bad convention :)

         So I've changed:

         Letsplay   -> lastPhysicalOutputGain
         Letsrecord -> lastPhysicalInputGain
         Recordmode -> lastPhysicalInputLineMode

         and

         getPhysicalLineMode() -> getPhysicalInputLineMode().

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