RIFF заголовок
typedef struct s_riff_header {
char riff_sign [4]; // "RIFF"
DWORD data_size;
char wave_sign [4]; // "WAVE"
char fmt_sign [4]; // "fmt "
DWORD fmt_size;
// WAVEFORMATEX
WORD wFormatTag;
WORD nChannels;
DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec;
WORD nBlockAlign;
WORD wBitsPerSample;
// end of WAVEFORMATEX structure
char data_sign [4];
DWORD samples;
} RIFF_HEADER;
О! спасибо большое!