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 | 01c1ed9a15ca81e2732c801c6697491046a0db9d (patch) | |
tree | 7fd2a5afe48a45c291739412ed511ddfa17169b0 /drivers/dahdi/dahdi_echocan_sec2.c | |
parent | fe97d6eadaf396c69e659e50ccfe548b0ed585fa (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 --------------------------------------------------------*/ |