Mercurial > hg > audiodb
changeset 499:f2e2d1ffcc4e malcolm-large-tracks
Changed LSH_N_POINTS_BIT header field to a width of 5 bits
author | mas01mc |
---|---|
date | Sat, 10 Jan 2009 19:01:01 +0000 |
parents | 342822c2d49a |
children | 9098b86f9847 |
files | create.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/create.cpp Sat Jan 10 16:47:57 2009 +0000 +++ b/create.cpp Sat Jan 10 19:01:01 2009 +0000 @@ -82,11 +82,11 @@ // For backward-compatibility, Record the point-encoding parameter for LSH indexing in the adb header // If this value is 0 then it will be set to 14 - #if LSH_N_POINT_BITS > 15 + #if LSH_N_POINT_BITS > 31 #error "AudioDB Compile ERROR: consistency check of O2_LSH_POINT_BITS failed (>31)" #endif - header->flags |= LSH_N_POINT_BITS << 28; + header->flags |= LSH_N_POINT_BITS << 27; // If database will fit in a single file the vectors are copied into the AudioDB instance // Else all the vectors are left on the FileSystem and we use the dataOffset as storage