]> git.ipfire.org Git - thirdparty/asterisk.git/commit
dsp.c: optimize goerztzel sample loops, in dtmf_detect, mf_detect and tone_detect
authorAlec L Davis <sivad.a@paradise.net.nz>
Wed, 5 Sep 2012 06:47:54 +0000 (06:47 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Wed, 5 Sep 2012 06:47:54 +0000 (06:47 +0000)
commit3568d2b9b3144c970e720d014836baf27c779669
tree83337e36559befc810d30178619c39df4a91e75e
parent66b43b9e0d40bb896d75544e4c1a7d235bd53d13
dsp.c: optimize goerztzel sample loops, in dtmf_detect, mf_detect and tone_detect

use a temporary short int when repeatedly used to call goertzel_sample.

alecdavis (license 585)
Reported by: alecdavis
Tested by: alecdavis

Review: https://reviewboard.asterisk.org/r/2093/
........

Merged revisions 372212 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@372213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/dsp.c