142
WAVE File Format
Data types
The DA-21 uses the following specially defi ned data types.
typedef struct {
uint32
dwDataAddress;
/* < Address as counted from start of data chunk
*/
uint32 dwDataSize;
uint32 dwFatDateTime;
} MARKERFORMAT;
typedef struct {
year
:6;
/* < Year (offset from 2000)
*/
mon
:4;
/* < Month (1 to 12)
*/
day
:5;
/* < Day (1 to 31)
*/
hour
:5;
/* < Hours (0 to 23)
*/
min
:6;
/* < Minutes (0 to 59)
*/
sec
:6;
/* < Seconds (0 to 59)
*/
} FATDATETIME;
dwFatDateTime
The date is a packed value with the following format.
Bits Values
Meaning
0 to 5
0 to 59
Second
6 to 11
0 to 59
Minutes (0 to 59)
12 to 16
0 to 23
Hours (0 to 23, 24-hour format)
17 to 21
0 to 31
Day of the month (1 to 31)
22 to 25
1 to 12
Month (1 = January, 2 = February etc.)
26 to 31
0 to 63
Year offset from 2000 (add 2000 to get actual year)
Summary of Contents for DA-21
Page 2: ......
Page 172: ...No 59374 16 07...