diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2018-11-04 01:19:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2018-11-04 01:19:48 +0300 |
commit | 5b176978c464b4d60ccd8b4d576eb31e3039f9a8 (patch) | |
tree | 17ed62357e735ff46e477b816537daef962e5b7c /test/dtmf.c | |
parent | d8502a297b556cb06bf59bd00b2524931a8f034a (diff) | |
download | libgha-5b176978c464b4d60ccd8b4d576eb31e3039f9a8.tar.gz |
Simple method to extract K sinusoids for one call
Diffstat (limited to 'test/dtmf.c')
-rw-r--r-- | test/dtmf.c | 3 |
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; |