diff options
Diffstat (limited to 'nGenEx/Wave.h')
-rw-r--r-- | nGenEx/Wave.h | 52 |
1 files changed, 52 insertions, 0 deletions
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
+
|