Mercurial > hg > audiodb
comparison audioDB.h @ 323:64c844de82d0 large_adb
Fixed an indexing bug where rest of track was ignored after first shingle with power below threshold. Put default O2_LSH_POINT_BITS back to 14 (16384 points), can be altered at compile time with CFLAGS+=-DO2_LSH_POINT_BITS n
author | mas01mc |
---|---|
date | Thu, 21 Aug 2008 21:02:14 +0000 |
parents | 634959ef98f2 |
children |
comparison
equal
deleted
inserted
replaced
322:634959ef98f2 | 323:64c844de82d0 |
---|---|
83 // This can be controlled at compile time | 83 // This can be controlled at compile time |
84 #define O2_DEFAULT_LSH_N_POINT_BITS 14 | 84 #define O2_DEFAULT_LSH_N_POINT_BITS 14 |
85 | 85 |
86 // Override the default point bit width for large database support | 86 // Override the default point bit width for large database support |
87 #ifndef LSH_N_POINT_BITS | 87 #ifndef LSH_N_POINT_BITS |
88 #define LSH_N_POINT_BITS 12 | 88 #define LSH_N_POINT_BITS O2_DEFAULT_LSH_N_POINT_BITS |
89 #endif | 89 #endif |
90 | 90 |
91 // LIMIT PARAMETERS | 91 // LIMIT PARAMETERS |
92 #define O2_DEFAULT_DATASIZE (1355U) // in MB | 92 #define O2_DEFAULT_DATASIZE (1355U) // in MB |
93 #define O2_DEFAULT_NTRACKS (20000U) | 93 #define O2_DEFAULT_NTRACKS (20000U) |