summaryrefslogtreecommitdiff
path: root/drivers/dahdi/voicebus
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-11-12 23:19:13 +0000
committerShaun Ruffell <sruffell@digium.com>2009-11-12 23:19:13 +0000
commit73323f8eb4f803367242608eff24b0ffc6dae097 (patch)
tree5ebd94ecc019dd91e0ee78ba211b668856848b12 /drivers/dahdi/voicebus
parentfc93a36d7bc762c209b84e08e04b21ce81be7fd2 (diff)
wcte12xp, voicebus: Set the companding mode correctly on E1.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7582 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/voicebus')
-rw-r--r--drivers/dahdi/voicebus/GpakCust.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/voicebus/GpakCust.c b/drivers/dahdi/voicebus/GpakCust.c
index ec23336..b9964cf 100644
--- a/drivers/dahdi/voicebus/GpakCust.c
+++ b/drivers/dahdi/voicebus/GpakCust.c
@@ -442,6 +442,7 @@ int vpmadt032_echocan_create(struct vpmadt032 *vpm, int channo,
* module. Instead, it uses tap_length to enable or disable the echo
* cancellation. */
order->params.tap_length = (ecp->tap_length) ? 1 : 0;
+ order->params.companding = vpm->companding;
order->channel = channo;
vpmadt032_check_and_schedule_update(vpm, order);