Mercurial > hg > audiodb
diff audioDB.h @ 248:5682c7d7444b
Added new query type: nsequence : this reports the n-nearest neighbours for each track in a sequence averaging query.
Next up is the same for the radius search (still accessed via nsequence but with -R set non zero)
author | mas01mc |
---|---|
date | Sun, 17 Feb 2008 14:56:02 +0000 |
parents | 4eb4608e28e1 |
children | a6c9a1c68646 |
line wrap: on
line diff
--- a/audioDB.h Mon Dec 17 16:17:45 2007 +0000 +++ b/audioDB.h Sun Feb 17 14:56:02 2008 +0000 @@ -54,6 +54,7 @@ #define O2_DEFAULT_POINTNN (10U) #define O2_DEFAULT_TRACKNN (10U) +//#define O2_DEFAULTDBSIZE (4000000000) // 4GB table size #define O2_DEFAULTDBSIZE (2000000000) // 2GB table size #define O2_MAXFILES (20000U) @@ -75,6 +76,8 @@ #define O2_POINT_QUERY (0x4U) #define O2_SEQUENCE_QUERY (0x8U) #define O2_TRACK_QUERY (0x10U) +#define O2_N_SEQUENCE_QUERY (0x20U) + // Error Codes #define O2_ERR_KEYNOTFOUND (0xFFFFFF00)