comparison audioDB.h @ 223:e2e561eef3d6 refactoring

Bump up O2_MAXFILES. It turns out that the given value is a little bit niggardly for e.g. KSA_CHARM with 1s frames. (This does mean that we waste more space for tables; the calculation of table sizes could probably be revisited.)
author mas01cr
date Wed, 05 Dec 2007 13:51:34 +0000
parents 4a66c326bbf1
children 083956accbce
comparison
equal deleted inserted replaced
222:4a66c326bbf1 223:e2e561eef3d6
53 53
54 #define O2_DEFAULT_POINTNN (10U) 54 #define O2_DEFAULT_POINTNN (10U)
55 #define O2_DEFAULT_TRACKNN (10U) 55 #define O2_DEFAULT_TRACKNN (10U)
56 56
57 #define O2_DEFAULTDBSIZE (2000000000) // 2GB table size 57 #define O2_DEFAULTDBSIZE (2000000000) // 2GB table size
58 //#define O2_DEFAULTDBSIZE (1000000000U) // 1GB table size 58
59 59 #define O2_MAXFILES (20000U)
60 //#define O2_MAXFILES (1000000)
61 #define O2_MAXFILES (10000U) // 10,000 files
62 #define O2_MAXFILESTR (256U) 60 #define O2_MAXFILESTR (256U)
63 #define O2_FILETABLESIZE (O2_MAXFILESTR) 61 #define O2_FILETABLESIZE (O2_MAXFILESTR)
64 #define O2_TRACKTABLESIZE (sizeof(unsigned)) 62 #define O2_TRACKTABLESIZE (sizeof(unsigned))
65 #define O2_HEADERSIZE (sizeof(dbTableHeaderT)) 63 #define O2_HEADERSIZE (sizeof(dbTableHeaderT))
66 #define O2_MEANNUMVECTORS (1000U) 64 #define O2_MEANNUMVECTORS (1000U)