ADTF  3.18.2
structs.h
Go to the documentation of this file.
1 
8 #ifndef BASE_STRUCTS_H
9 #define BASE_STRUCTS_H
10 
11 #ifdef _MSC_VER
12  #pragma pack(push)
13  #pragma pack(1)
14 #else
15  #pragma pack(push)
16  #pragma pack(1)
17 #endif
18 
24  typedef struct tag_Date
25  {
32  } tDate;
33 
39  typedef struct tag_Time
40  {
49  } tTime;
50 
56  typedef struct tag_DateTime
57  {
72  } tDateTime;
73 
74 
75 
81  typedef struct tag_WaveFormat
82  {
95  } tWaveFormat;
96 
102  typedef struct tag_Color
103  {
112  } tColor;
113 
114 #ifdef _MSC_VER
115  #pragma pack(pop)
116 #else
117  #pragma pack(pop)
118 #endif
119 
120 #endif /* BASE_STRUCTS_H */
uint8_t tUInt8
type definition for unsigned integer values (8bit) (platform and compiler independent type).
int32_t tInt32
type definition for signed integer values (32bit) (platform and compiler independent type).
uint16_t tUInt16
type definition for unsigned integer values (16bit) (platform and compiler independent type).
uint32_t tUInt32
type definition for unsigned integer values (32bit) (platform and compiler independent type).
Struct to split the color in the categories: blue, green, red an alpha value.
Definition: structs.h:103
tUInt8 nBlue
The Blue value.
Definition: structs.h:105
tUInt8 nAlpha
The Alpha value.
Definition: structs.h:111
tUInt8 nRed
The Red value.
Definition: structs.h:109
tUInt8 nGreen
The Green value.
Definition: structs.h:107
Date Structure to define dates.
Definition: structs.h:25
tUInt16 ui16Day
The Day of the month - [1,31].
Definition: structs.h:31
tUInt16 ui16Year
The Year - [1900,)
Definition: structs.h:27
tUInt16 ui16Month
The Month - [1,12].
Definition: structs.h:29
Struct to handle date and time together.
Definition: structs.h:57
tUInt16 ui16Day
The Day of the month - [1,31].
Definition: structs.h:63
tUInt32 ui32Microseconds
The Microseconds after the second - [0,999999].
Definition: structs.h:71
tUInt16 ui16Second
The Seconds after the minute - [0,59].
Definition: structs.h:69
tUInt16 ui16Minute
The Minutes after the hour - [0,59].
Definition: structs.h:67
tUInt16 ui16Year
The Year - [1900,)
Definition: structs.h:59
tUInt16 ui16Hour
The Hours past midnight - [0,23].
Definition: structs.h:65
tUInt16 ui16Month
The Month - [1,12].
Definition: structs.h:61
Time Structure to define Time.
Definition: structs.h:40
tUInt32 ui32Microseconds
The Microseconds after the second - [0,999999].
Definition: structs.h:48
tUInt16 ui16Second
The Seconds after the minute - [0,59].
Definition: structs.h:46
tUInt16 ui16Minute
The Minutes after the hour - [0,59].
Definition: structs.h:44
tUInt16 ui16Hour
The Hours past midnight - [0,23].
Definition: structs.h:42
The Common Wave format describes a sound Smaple stream.
Definition: structs.h:82
tInt32 nSize
Size of samples.
Definition: structs.h:94
tInt32 nBitsPerSample
Bits per sample.
Definition: structs.h:90
tInt32 nNumSamples
Number of samples.
Definition: structs.h:92
tInt32 nSamplesPerSec
Samples per second.
Definition: structs.h:88
tInt32 nFormatType
Format type.
Definition: structs.h:84
tInt32 nChannels
Number of channels (1=mono, 2=stereo)
Definition: structs.h:86