minor corrections by M.Taguchi
[reactos.git] / reactos / drivers / dd / sound / wave.h
1 KIRQL irql;
2 KAFFINITY affinity;
3
4 typedef struct
5 {
6 unsigned char rID[4] __attribute__((packed)); //4 0
7 unsigned int rLen __attribute__((packed)); //4 4
8 unsigned char wID[4] __attribute__((packed)); //4 8
9 unsigned char fID[4] __attribute__((packed)); //4 12
10 unsigned int fLen __attribute__((packed)); //4 16
11 unsigned short wFormatTag __attribute__((packed)); //2 18
12 unsigned short nChannels __attribute__((packed)); //2 20
13 unsigned int nSamplesPerSec __attribute__((packed)); //2 22
14 unsigned int nAvgBytesPerSec __attribute__((packed)); //2 24
15 unsigned short nBlockAlign __attribute__((packed)); //2 26
16 unsigned short FormatSpecific __attribute__((packed)); //2 28
17 unsigned char dID[4] __attribute__((packed)); //4 30
18 unsigned int dLen __attribute__((packed));
19 unsigned char* data;
20 }WAVE_HDR;
21
22 void sb16_play(WAVE_HDR* wave);
23 void dump_wav(WAVE_HDR* wave);
24 BOOLEAN playRoutine(PKINTERRUPT Interrupt,PVOID ServiceContext);