update to snapshot spandsp-20090129

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11548 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-01-29 04:00:33 +00:00
1 parent 88ecf6d17f
commit c3facf7d57
18 files changed
+65 -44

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: v17rx.c,v 1.129 2009/01/28 03:41:27 steveu Exp $
* $Id: v17rx.c,v 1.130 2009/01/29 01:41:06 steveu Exp $
*/
/*! \file */
@@ -984,7 +984,7 @@ int v17_rx(v17_rx_state_t *s, const int16_t amp[], int len)
We need to measure the power with the DC blocked, but not using
a slow to respond DC blocker. Use the most elementary HPF. */
x = amp[i] >> 1;
diff = x - s->last_sample;
diff = (int32_t) x - s->last_sample;
power = power_meter_update(&(s->power), diff);
#if defined(IAXMODEM_STUFF)
/* Quick power drop fudge */