[dahdi-commits] sruffell: linux/trunk r5002 - /linux/trunk/drivers/dahdi/
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Sun Sep 28 01:43:52 CDT 2008
Author: sruffell
Date: Sun Sep 28 01:43:51 2008
New Revision: 5002
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5002
Log:
Fixes failure of modular echo cancelers in DAHDI.
Reported by lots of people, fix suggested by mattf.
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
linux/trunk/drivers/dahdi/dahdi_echocan_kb1.c
linux/trunk/drivers/dahdi/dahdi_echocan_mg2.c
linux/trunk/drivers/dahdi/dahdi_echocan_sec.c
linux/trunk/drivers/dahdi/dahdi_echocan_sec2.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=5002&r1=5001&r2=5002
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Sun Sep 28 01:43:51 2008
@@ -6484,7 +6484,7 @@
rxlins[x] = DAHDI_XLAW(rxchunk[x], ss);
txlins[x] = DAHDI_XLAW(txchunk[x], ss);
}
- ss->ec_current->echo_can_array_update(ss->ec_state, rxlins, txlins);
+ ss->ec_current->echo_can_array_update(ss->ec_state, txlins, rxlins);
for (x = 0; x < DAHDI_CHUNKSIZE; x++)
rxchunk[x] = DAHDI_LIN2X((int) rxlins[x], ss);
}
Modified: linux/trunk/drivers/dahdi/dahdi_echocan_kb1.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_echocan_kb1.c?view=diff&rev=5002&r1=5001&r2=5002
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_echocan_kb1.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_echocan_kb1.c Sun Sep 28 01:43:51 2008
@@ -591,6 +591,7 @@
for (x = 0; x < DAHDI_CHUNKSIZE; x++) {
result = sample_update(ec, *iref, *isig);
*isig++ = result;
+ ++iref;
}
}
Modified: linux/trunk/drivers/dahdi/dahdi_echocan_mg2.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_echocan_mg2.c?view=diff&rev=5002&r1=5001&r2=5002
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_echocan_mg2.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_echocan_mg2.c Sun Sep 28 01:43:51 2008
@@ -728,6 +728,7 @@
for (x = 0; x < DAHDI_CHUNKSIZE; x++) {
result = sample_update(ec, *iref, *isig);
*isig++ = result;
+ ++iref;
}
}
Modified: linux/trunk/drivers/dahdi/dahdi_echocan_sec.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_echocan_sec.c?view=diff&rev=5002&r1=5001&r2=5002
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_echocan_sec.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_echocan_sec.c Sun Sep 28 01:43:51 2008
@@ -280,6 +280,7 @@
for (x = 0; x < DAHDI_CHUNKSIZE; x++) {
result = sample_update(ec, *iref, *isig);
*isig++ = result;
+ ++iref;
}
}
/*- End of function --------------------------------------------------------*/
Modified: linux/trunk/drivers/dahdi/dahdi_echocan_sec2.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_echocan_sec2.c?view=diff&rev=5002&r1=5001&r2=5002
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_echocan_sec2.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_echocan_sec2.c Sun Sep 28 01:43:51 2008
@@ -287,6 +287,7 @@
for (x = 0; x < DAHDI_CHUNKSIZE; x++) {
result = sample_update(ec, *iref, *isig);
*isig++ = result;
+ ++iref;
}
}
/*- End of function --------------------------------------------------------*/
More information about the dahdi-commits
mailing list