aboutsummaryrefslogtreecommitdiffstats
path: root/test/dtmf.c
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2018-11-04 01:19:48 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2018-11-04 01:19:48 +0300
commit5b176978c464b4d60ccd8b4d576eb31e3039f9a8 (patch)
tree17ed62357e735ff46e477b816537daef962e5b7c /test/dtmf.c
parentd8502a297b556cb06bf59bd00b2524931a8f034a (diff)
downloadlibgha-5b176978c464b4d60ccd8b4d576eb31e3039f9a8.tar.gz
Simple method to extract K sinusoids for one call
Diffstat (limited to 'test/dtmf.c')
-rw-r--r--test/dtmf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dtmf.c b/test/dtmf.c
index 54fcb6d..a2146be 100644
--- a/test/dtmf.c
+++ b/test/dtmf.c
@@ -41,8 +41,7 @@ int main(int argc, char** argv) {
}
struct gha_info res[2];
- gha_extract_one(buf, &res[0], ctx);
- gha_extract_one(buf, &res[1], ctx);
+ gha_extract_many_simple(buf, &res[0], 2, ctx);
if (res[0].frequency > res[1].frequency) {
struct gha_info tmp;