Eric des Courtis 10c6a30a59 Added new FreeSWITCH module mod_avmd or the Advanced Voicemail Detection Module.
It provides better detection than mod_vmd but is a little more CPU intensive than mod_vmd.

Perhaps someone would like to CUDAfy this code?
2010-05-25 15:03:14 -04:00

10 lines
195 B
C

#ifndef __PSI_H__
#define __PSI_H__
#include "buffer.h"
#define PSI(b, i) (GET_SAMPLE((b), ((i) + 1))*GET_SAMPLE((b), ((i) + 1))-GET_SAMPLE((b), ((i) + 2))*GET_SAMPLE((b), ((i) + 0)))
#endif