aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test_dtmf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_dtmf.c')
-rw-r--r--src/test/test_dtmf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_dtmf.c b/src/test/test_dtmf.c
index 8f56e5c..6640c59 100644
--- a/src/test/test_dtmf.c
+++ b/src/test/test_dtmf.c
@@ -63,6 +63,8 @@ int main(void)
int f, i;
double target;
+ fm_init(0);
+
dtmf_decode_init(&dtmf_dec, NULL, recv_digit, SAMPLERATE, db2level(0), db2level(-30.0));
for (f = 0; f < 8; f++) {
@@ -109,6 +111,8 @@ int main(void)
dtmf_decode_exit(&dtmf_dec);
+ fm_exit();
+
return 0;
}