aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_vpb.cc
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-19 21:56:15 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-19 21:56:15 +0000
commit2c4aac03992077a08b75c4c43f0041778075f951 (patch)
tree5227899b4ed3ce67d9744f7db3832898ad4817d3 /channels/chan_vpb.cc
parent76248bd9e7d83fe921adbb37582920eda100b5b5 (diff)
Rename very poorly named function to reflect what it actually does. This was causing quite a bit of confusion for me...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110132 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_vpb.cc')
-rw-r--r--channels/chan_vpb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc
index df7dfc2aa..3e8657286 100644
--- a/channels/chan_vpb.cc
+++ b/channels/chan_vpb.cc
@@ -1634,9 +1634,9 @@ static struct vpb_pvt *mkif(int board, int channel, int mode, int gains, float t
if (use_ast_dtmfdet) {
tmp->vad = ast_dsp_new();
ast_dsp_set_features(tmp->vad, DSP_FEATURE_DTMF_DETECT);
- ast_dsp_digitmode(tmp->vad, DSP_DIGITMODE_DTMF);
+ ast_dsp_set_digitmode(tmp->vad, DSP_DIGITMODE_DTMF);
if (relaxdtmf)
- ast_dsp_digitmode(tmp->vad, DSP_DIGITMODE_DTMF|DSP_DIGITMODE_RELAXDTMF);
+ ast_dsp_set_digitmode(tmp->vad, DSP_DIGITMODE_DTMF|DSP_DIGITMODE_RELAXDTMF);
} else {
tmp->vad = NULL;
}