[asterisk-dev] [Code Review] Set threshold for silence detection defaults 256

Russell Bryant russell at digium.com
Sun Jun 6 18:03:14 CDT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/670/#review2161
-----------------------------------------------------------

Ship it!



/trunk/main/dsp.c
<https://reviewboard.asterisk.org/r/670/#comment4612>

    Since this is a constant, make the name all caps.



/trunk/main/dsp.c
<https://reviewboard.asterisk.org/r/670/#comment4610>

    Use ast_verb().



/trunk/main/dsp.c
<https://reviewboard.asterisk.org/r/670/#comment4611>

    Use ast_verb().


- Russell


On 2010-06-06 14:37:41, pabelanger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/670/
> -----------------------------------------------------------
> 
> (Updated 2010-06-06 14:37:41)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Repost of a tracker issue for dsp.c.  Created a default setting for 265, not 0.
> ---
> dant's comments:
> * Defines a default silence threshold constant set to the current default of 256
> * If the config file is not present, issues a warning saying that it will use the default silence threshold and applies the default silence threshold
> * Where the variable was set to a static value, i.e. in the event that the config existed but didn't define the variable or if it was set to an invalid value, it now uses the constant to apply the default value. 
> 
> 
> This addresses bug 15685.
>     https://issues.asterisk.org/view.php?id=15685
> 
> 
> Diffs
> -----
> 
>   /trunk/main/dsp.c 266570 
> 
> Diff: https://reviewboard.asterisk.org/r/670/diff
> 
> 
> Testing
> -------
> 
> compile testing
> 
> 
> Thanks,
> 
> pabelanger
> 
>




More information about the asterisk-dev mailing list