Mercurial > hg > audiodb
diff audioDB.h @ 128:f789aa32382f
Variable-size databases, step 1: introduce dbSize field into the
database header.
(Preserve backward-compatibility by assuming that dbSize == 0 implies
dbSize = O2_DEFAULTDBSIZE)
author | mas01cr |
---|---|
date | Fri, 19 Oct 2007 13:51:53 +0000 |
parents | fce73e4afa15 |
children | f7eba8eb272c |
line wrap: on
line diff
--- a/audioDB.h Thu Oct 18 13:30:57 2007 +0000 +++ b/audioDB.h Fri Oct 19 13:51:53 2007 +0000 @@ -96,13 +96,15 @@ // unportable between 32 and 64-bit architectures. Making them // uint32_t isn't the real answer, as it means we won't be able to // scale to really large collections easily but it works around the - // problem. -- CSR, 2007-10-05 + // problem. Expanding to 64 bits will of course need a change in + // file format version. -- CSR, 2007-10-05 uint32_t length; uint32_t fileTableOffset; uint32_t trackTableOffset; uint32_t dataOffset; uint32_t l2normTableOffset; uint32_t timesTableOffset; + uint32_t dbSize; } dbTableHeaderT, *dbTableHeaderPtr;