# HG changeset patch # User mas01cr # Date 1196862694 0 # Node ID e2e561eef3d64ded72a6d1d6994e7616d8df6105 # Parent 4a66c326bbf11d2c7ba5077dae0f7846b53e1349 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.) diff -r 4a66c326bbf1 -r e2e561eef3d6 audioDB.h --- a/audioDB.h Wed Dec 05 12:47:33 2007 +0000 +++ b/audioDB.h Wed Dec 05 13:51:34 2007 +0000 @@ -55,10 +55,8 @@ #define O2_DEFAULT_TRACKNN (10U) #define O2_DEFAULTDBSIZE (2000000000) // 2GB table size -//#define O2_DEFAULTDBSIZE (1000000000U) // 1GB table size -//#define O2_MAXFILES (1000000) -#define O2_MAXFILES (10000U) // 10,000 files +#define O2_MAXFILES (20000U) #define O2_MAXFILESTR (256U) #define O2_FILETABLESIZE (O2_MAXFILESTR) #define O2_TRACKTABLESIZE (sizeof(unsigned))