comparison audioDB-internals.h @ 673:e1f7cab30701

rename struct adbfoo to struct adb_foo (or nearest idiomatic equivalent in the appropriate language) This should have minimal impact on ABI compatibility, but is still formally a backward-incompatible change (and is potentially an API incompatibility too, though everyone should be using the typedefed synonyms.
author mas01cr
date Fri, 05 Mar 2010 16:00:58 +0000
parents a35ca2d5f238
children b1723ae7675e
comparison
equal deleted inserted replaced
672:a35ca2d5f238 673:e1f7cab30701
68 double *mean_duration; 68 double *mean_duration;
69 } adb_qpointers_internal_t; 69 } adb_qpointers_internal_t;
70 70
71 /* this struct is the in-memory representation of the binary 71 /* this struct is the in-memory representation of the binary
72 * information stored at the head of each adb file */ 72 * information stored at the head of each adb file */
73 typedef struct adbheader { 73 typedef struct adb_header {
74 uint32_t magic; 74 uint32_t magic;
75 uint32_t version; 75 uint32_t version;
76 uint32_t numFiles; 76 uint32_t numFiles;
77 uint32_t dim; 77 uint32_t dim;
78 uint32_t flags; 78 uint32_t flags;
85 off_t timesTableOffset; 85 off_t timesTableOffset;
86 off_t powerTableOffset; 86 off_t powerTableOffset;
87 off_t dbSize; 87 off_t dbSize;
88 } adb_header_t; 88 } adb_header_t;
89 89
90 #define ADB_HEADER_SIZE (sizeof(struct adbheader)) 90 #define ADB_HEADER_SIZE (sizeof(struct adb_header))
91 91
92 #define ADB_HEADER_FLAG_L2NORM (0x1U) 92 #define ADB_HEADER_FLAG_L2NORM (0x1U)
93 #define ADB_HEADER_FLAG_POWER (0x4U) 93 #define ADB_HEADER_FLAG_POWER (0x4U)
94 #define ADB_HEADER_FLAG_TIMES (0x20U) 94 #define ADB_HEADER_FLAG_TIMES (0x20U)
95 #define ADB_HEADER_FLAG_REFERENCES (0x40U) 95 #define ADB_HEADER_FLAG_REFERENCES (0x40U)