Rev 376 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 376 | Rev 570 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | #define ST_DONE 0x0 |
17 | #define ST_DONE 0x0 |
18 | #define ST_PLAY 0x1 |
18 | #define ST_PLAY 0x1 |
19 | #define ST_EXIT 0x2 |
19 | #define ST_EXIT 0x2 |
20 | #define ST_STOP 0x4 |
20 | #define ST_STOP 0x4 |
Line 21... | Line -... | ||
21 | - | ||
22 | typedef struct |
- | |
23 | { DWORD riff_id; |
- | |
24 | DWORD riff_size; |
- | |
25 | DWORD riff_format; |
- | |
26 | - | ||
27 | DWORD fmt_id; |
- | |
28 | DWORD fmt_size; |
- | |
29 | - | ||
30 | WORD wFormatTag; |
- | |
31 | WORD nChannels; |
- | |
32 | DWORD nSamplesPerSec; |
- | |
33 | DWORD nAvgBytesPerSec; |
- | |
34 | WORD nBlockAlign; |
- | |
35 | WORD wBitsPerSample; |
- | |
36 | DWORD data_id; |
- | |
37 | DWORD data_size; |
- | |
Line 38... | Line 21... | ||
38 | } WAVEHEADER; |
21 | |
Line 39... | Line 22... | ||
39 | 22 | ||
40 | DWORD test_mp3(char *buf); |
23 | DWORD test_mp3(char *buf); |