Mercurial > hg > audiodb
diff audioDB.h @ 148:8c1c6a5c1cc3 powertable
Abstract the operation to perform a windowed sequence sum into a
function, and use that function in the four places that were already
doing this operation.
author | mas01cr |
---|---|
date | Wed, 31 Oct 2007 13:08:21 +0000 |
parents | a564e6d7a30c |
children | 9ec0f27e07b9 |
line wrap: on
line diff
--- a/audioDB.h Wed Oct 31 12:01:28 2007 +0000 +++ b/audioDB.h Wed Oct 31 13:08:21 2007 +0000 @@ -179,6 +179,7 @@ void error(const char* a, const char* b = "", const char *sysFunc = 0); void pointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); void trackPointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); + void sequence_sum(double *buffer, int length, int seqlen); void trackSequenceQueryNN(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); void trackSequenceQueryRad(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);