ReactOS  0.4.14-dev-49-gfb4591c
wave.h
Go to the documentation of this file.
3 
4 #include <pshpack1.h>
5 typedef struct
6 {
7  unsigned char rID[4] ; //4 0
8  unsigned int rLen ; //4 4
9  unsigned char wID[4] ; //4 8
10  unsigned char fID[4] ; //4 12
11  unsigned int fLen ; //4 16
12  unsigned short wFormatTag ; //2 18
13  unsigned short nChannels ; //2 20
14  unsigned int nSamplesPerSec ; //2 22
15  unsigned int nAvgBytesPerSec ; //2 24
16  unsigned short nBlockAlign ; //2 26
17  unsigned short FormatSpecific ; //2 28
18  unsigned char dID[4] ; //4 30
19  unsigned int dLen ;
20  unsigned char* data;
21 }WAVE_HDR;
22 #include <poppack.h>
23 
24 void sb16_play(WAVE_HDR* wave);
25 void dump_wav(WAVE_HDR* wave);
KAFFINITY affinity
Definition: wave.h:2
unsigned int nSamplesPerSec
Definition: wave.h:14
unsigned int fLen
Definition: wave.h:11
unsigned int rLen
Definition: wave.h:8
Definition: wave.h:5
unsigned char wave[]
Definition: in.h:3
unsigned short nBlockAlign
Definition: wave.h:16
UCHAR KIRQL
Definition: env_spec_w32.h:591
void dump_wav(WAVE_HDR *wave)
Definition: wave.c:131
BOOLEAN playRoutine(PKINTERRUPT Interrupt, PVOID ServiceContext)
Definition: wave.c:148
unsigned char BOOLEAN
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID ServiceContext
Definition: iofuncs.h:798
unsigned int dLen
Definition: wave.h:19
unsigned short FormatSpecific
Definition: wave.h:17
void sb16_play(WAVE_HDR *wave)
Definition: wave.c:39
unsigned short nChannels
Definition: wave.h:13
unsigned char * data
Definition: wave.h:20
unsigned short wFormatTag
Definition: wave.h:12
ULONG_PTR KAFFINITY
Definition: compat.h:75
KIRQL irql
Definition: wave.h:1
unsigned int nAvgBytesPerSec
Definition: wave.h:15