]> 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:50:15 +0000 (06:50 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Wed, 5 Sep 2012 06:50:15 +0000 (06:50 +0000)
commite225712ae556929eb001289c9f4b2e7a8b6eeba8
tree3e55fc47bd9d62c7e4c982304622a209309f71ec
parentb9bdea7105a538fc7bdde48ab7b94aa8a9ec58a6
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
........

Merged revisions 372213 from http://svn.asterisk.org/svn/asterisk/branches/10

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