Mercurial > hg > audiodb
changeset 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 |
files | audioDB.h |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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))