diff options
author | Shaun Ruffell <sruffell@digium.com> | 2008-09-28 06:43:51 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2008-09-28 06:43:51 +0000 |
commit | 3f44790f59655ed49faf53ddc11d63962610dc93 (patch) | |
tree | 7fd2a5afe48a45c291739412ed511ddfa17169b0 /drivers/dahdi/dahdi_echocan_sec2.c | |
parent | 7b4e5881b96518412358e69bb55221d05dace944 (diff) |
Fixes failure of modular echo cancelers in DAHDI.
Reported by lots of people, fix suggested by mattf.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5002 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_echocan_sec2.c')
-rw-r--r-- | drivers/dahdi/dahdi_echocan_sec2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi_echocan_sec2.c b/drivers/dahdi/dahdi_echocan_sec2.c index 656a4e1..fa19b4c 100644 --- a/drivers/dahdi/dahdi_echocan_sec2.c +++ b/drivers/dahdi/dahdi_echocan_sec2.c @@ -287,6 +287,7 @@ static void echo_can_update(struct echo_can_state *ec, short *iref, short *isig) for (x = 0; x < DAHDI_CHUNKSIZE; x++) { result = sample_update(ec, *iref, *isig); *isig++ = result; + ++iref; } } /*- End of function --------------------------------------------------------*/ |