comparison 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
comparison
equal deleted inserted replaced
147:a564e6d7a30c 148:8c1c6a5c1cc3
177 177
178 // private methods 178 // private methods
179 void error(const char* a, const char* b = "", const char *sysFunc = 0); 179 void error(const char* a, const char* b = "", const char *sysFunc = 0);
180 void pointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 180 void pointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
181 void trackPointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 181 void trackPointQuery(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
182 void sequence_sum(double *buffer, int length, int seqlen);
182 void trackSequenceQueryNN(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 183 void trackSequenceQueryNN(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
183 void trackSequenceQueryRad(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 184 void trackSequenceQueryRad(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
184 185
185 void initDBHeader(const char *dbName, bool forWrite); 186 void initDBHeader(const char *dbName, bool forWrite);
186 void initTables(const char* dbName, bool forWrite, const char* inFile); 187 void initTables(const char* dbName, bool forWrite, const char* inFile);