From e33e19d0587146859d48a134ec9fd94e7b7ba5cd Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 14:53:40 +0000 Subject: Initial upload --- nGenEx/Wave.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 nGenEx/Wave.h (limited to 'nGenEx/Wave.h') diff --git a/nGenEx/Wave.h b/nGenEx/Wave.h new file mode 100644 index 0000000..9b630ca --- /dev/null +++ b/nGenEx/Wave.h @@ -0,0 +1,52 @@ +/* Project nGenEx + Destroyer Studios LLC + Copyright © 1997-2004. All Rights Reserved. + + SUBSYSTEM: nGenEx.lib + FILE: Wave.h + AUTHOR: John DiCamillo + +*/ + +#ifndef Wave_h +#define Wave_h + +#include "Types.h" + +// +--------------------------------------------------------------------+ + +struct WAVE_HEADER +{ + DWORD RIFF; + DWORD file_len; + DWORD WAVE; +}; + +struct WAVE_FMT +{ + DWORD FMT; + DWORD chunk_size; + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; +}; + +struct WAVE_FACT +{ + DWORD FACT; + DWORD chunk_size; +}; + +struct WAVE_DATA +{ + DWORD DATA; + DWORD chunk_size; +}; + +// +--------------------------------------------------------------------+ + +#endif Wave_h + -- cgit v1.1