#ifndef __WAV_H__ typedef long int32; typedef short int16; typedef char int8; typedef unsigned long uint32; typedef unsigned short uint16; typedef unsigned char uint8; typedef struct { int8 abyRiff[4]; // { 'R', 'I', 'F' ,'F' } int32 dwFileSize; // filesize - 8 int8 abyWave[4]; // { 'W', 'A', 'V' ,'E' } int8 abyFmt[4]; // { 'f', 'm', 't' ,' ' } int32 dwFmtSize; // sizeof( str_wavfmt ) struct { int16 wdFormatTag; // TAG int16 wdChannels; // CHANNEL int32 dwSamplesPerSec; // Sampling Rate int32 dwAvgBytesPerSec; // Sampling Data Length int16 wBlockAlign; // 4 int16 wBitsPerSample; // Sampling Bit Length } str_wavfmt; } str_riff; #endif