aboutsummaryrefslogtreecommitdiff
path: root/src/delta.c
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2007-12-28 19:34:51 +0000
committerJamie Bullock <jamie@postlude.co.uk>2007-12-28 19:34:51 +0000
commit2e66bd6092fe93ca7fa953c4af9d0e16bbf69905 (patch)
tree0879cd510f23690e40ed4c01262bf301bfc38d15 /src/delta.c
parent0c2e564c15c583a5274271a0bbacb237b180d500 (diff)
downloadLibXtract-2e66bd6092fe93ca7fa953c4af9d0e16bbf69905.tar.gz
LibXtract-2e66bd6092fe93ca7fa953c4af9d0e16bbf69905.tar.bz2
LibXtract-2e66bd6092fe93ca7fa953c4af9d0e16bbf69905.zip
- Added new helper functions: xtract_windowed() and xtract_features_from_subframes()
- Added windowing functions (window.c)
Diffstat (limited to 'src/delta.c')
-rw-r--r--src/delta.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/delta.c b/src/delta.c
index 79250e2..8e9fcd0 100644
--- a/src/delta.c
+++ b/src/delta.c
@@ -32,8 +32,7 @@ int xtract_flux(const float *data, const int N, const void *argv , float *result
int xtract_lnorm(const float *data, const int N, const void *argv , float *result){
- int feature,
- n,
+ int n,
type;
float order,
@@ -80,7 +79,7 @@ int xtract_decay_time(const float *data, const int N, const void *argv, float *r
int xtract_difference_vector(const float *data, const int N, const void *argv, float *result){
- float *frame1,
+ const float *frame1,
*frame2;
int n;