summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Wave.h
blob: 9b630ca140a3459c78a39fec96804807942819fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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