18 #ifndef IW_DAFF_HEADER 19 #define IW_DAFF_HEADER 25 #define DAFF_PACK_ATTR 28 #define DAFF_PACK_ATTR __attribute__((__packed__)) 39 static const int FILEBLOCK_DAFF1_MAIN_HEADER_ID = 0x0001;
42 static const int FILEBLOCK_DAFF1_CONTENT_HEADER_ID = 0x0002;
45 static const int FILEBLOCK_DAFF1_RECORD_DESC_ID = 0x0003;
48 static const int FILEBLOCK_DAFF1_DATA_ID = 0x0004;
51 static const int FILEBLOCK_DAFF1_METADATA_ID = 0x0005;
281 #endif // IW_DAFF_HEADER
float fOrientPitch
@ Yaw angle of the orientation [°]
void fixEndianness()
@ Roll angle of the orientation [°]
float fBetaStart
@ Number of measurement points in beta range [0°, 180°]
int32_t iLeadingZeros
@ Position inside the file where samples/coefficients reside (in bytes)
void fixEndianness()
@ Number of data values (length of element of record channel for a single channel, only)
uint64_t ui64DataOffset
@ Index in metadata table (C-style indexing: beginning with 0)
uint64_t ui64DataOffset
@ Index in metadata table (C-style indexing: beginning with 0)
int32_t iElementLength
@ Offset of actual data within impulse response (leading zeros that are not included in DAFF data) ...
int32_t iAlphaPoints
@ Index of global metadata
int32_t iElementsPerRecord
@ Overall number of records
float fAlphaStart
@ Number of measurement points in alpha range [0°, 360°)
int32_t iNumRecords
@ Number of channels
int32_t iMetadataIndex
@ Number of elements per records (number of taps/DFT coefficients)
int32_t iQuantization
@ Identificator of the database content type
void fixEndianness()
Convert the little-endian file format into the systems endianness.
void fixEndianness()
@ Position inside the file where samples/coefficients reside
void(* le2se_4byte)(void *src, size_t count)
int32_t iNumChannels
@ Quantization of samples/coefficients
int32_t iBetaPoints
@ Alpha range boundaries
void(* le2se_8byte)(void *src, size_t count)
float fOrientRoll
@ Pitch angle of the orientation [°]
Record channel descriptor: impulse responses content.
float fOrientYaw
@ Beta range boundaries