Proper structure size for WAVEFORMATEX.

This commit is contained in:
Moritz Bunkus 2003-10-26 16:10:34 +00:00
parent 373042fbf4
commit 6c8874cfc1
2 changed files with 8 additions and 0 deletions

View File

@ -162,6 +162,8 @@ typedef struct
uint32_t bi_clr_important;
} alBITMAPINFOHEADER;
#pragma pack(2)
typedef struct
{
uint16_t w_format_tag;
@ -173,6 +175,8 @@ typedef struct
uint16_t cb_size;
} alWAVEFORMATEX;
#pragma pack(4)
typedef struct
{
uint32_t fcc_type;

View File

@ -100,6 +100,8 @@ typedef struct
uint32_t bi_clr_important;
} alBITMAPINFOHEADER;
#pragma pack(2)
typedef struct
{
uint16_t w_format_tag;
@ -111,6 +113,8 @@ typedef struct
uint16_t cb_size;
} alWAVEFORMATEX;
#pragma pack(4)
typedef struct
{
uint32_t fcc_type;