diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-19 00:19:29 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-19 00:19:29 +0000 |
commit | f8247040e6231c4b3b5099ea3a526348b7941566 (patch) | |
tree | 0cc92ad6ebf6ae49a62f6e7ef8ec819121d63630 /trunk/main/libresample/src/filterkit.h | |
parent | d88e56c61ce2042544c1a8a71c93b69ab2e6ffba (diff) |
Creating tag for the release of asterisk-1.6.0-beta1v1.6.0-beta1
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta1@99163 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'trunk/main/libresample/src/filterkit.h')
-rw-r--r-- | trunk/main/libresample/src/filterkit.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/trunk/main/libresample/src/filterkit.h b/trunk/main/libresample/src/filterkit.h new file mode 100644 index 000000000..9df0ae869 --- /dev/null +++ b/trunk/main/libresample/src/filterkit.h @@ -0,0 +1,28 @@ +/********************************************************************** + + resamplesubs.c + + Real-time library interface by Dominic Mazzoni + + Based on resample-1.7: + http://www-ccrma.stanford.edu/~jos/resample/ + + License: LGPL - see the file LICENSE.txt for more information + +**********************************************************************/ + +/* Definitions */ +#include "resample_defs.h" + +/* + * FilterUp() - Applies a filter to a given sample when up-converting. + * FilterUD() - Applies a filter to a given sample when up- or down- + */ + +float lrsFilterUp(float Imp[], float ImpD[], UWORD Nwing, BOOL Interp, + float *Xp, double Ph, int Inc); + +float lrsFilterUD(float Imp[], float ImpD[], UWORD Nwing, BOOL Interp, + float *Xp, double Ph, int Inc, double dhb); + +void lrsLpFilter(double c[], int N, double frq, double Beta, int Num); |