Some touch ups to the known issues in the release notes
[msysgit.git] / mingw / include / mmreg.h
blob9867db00c6028f7e74528bf8500f5ab92cd03b1a
1 #ifndef _MMREG_H
2 #define _MMREG_H
3 #if __GNUC__ >= 3
4 #pragma GCC system_header
5 #endif
7 #ifndef _MMSYSTEM_H
8 #include <mmsystem.h>
9 #endif
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 /*--- DirectShow Reference - DirectShow Structures */
16 typedef struct mpeg1waveformat_tag {
17 WAVEFORMATEX wfx;
18 WORD fwHeadLayer;
19 DWORD dwHeadBitrate;
20 WORD fwHeadMode;
21 WORD fwHeadModeExt;
22 WORD wHeadEmphasis;
23 WORD fwHeadFlags;
24 DWORD dwPTSLow;
25 DWORD dwPTSHigh;
26 } MPEG1WAVEFORMAT;
27 #define ACM_MPEG_LAYER1 0x0001
28 #define ACM_MPEG_LAYER2 0x0002
29 #define ACM_MPEG_LAYER3 0x0004
30 #define ACM_MPEG_STEREO 0x0001
31 #define ACM_MPEG_JOINTSTEREO 0x0002
32 #define ACM_MPEG_DUALCHANNEL 0x0004
33 #define ACM_MPEG_SINGLECHANNEL 0x0008
34 #define ACM_MPEG_PRIVATEBIT 0x0001
35 #define ACM_MPEG_COPYRIGHT 0x0002
36 #define ACM_MPEG_ORIGINALHOME 0x0004
37 #define ACM_MPEG_PROTECTIONBIT 0x0008
38 #define ACM_MPEG_ID_MPEG1 0x0010
39 typedef struct {
40 WAVEFORMATEX Format;
41 union {
42 WORD wValidBitsPerSample;
43 WORD wSamplesPerBlock;
44 WORD wReserved;
45 } Samples;
46 DWORD dwChannelMask;
47 GUID SubFormat;
48 } WAVEFORMATEXTENSIBLE,*PWAVEFORMATEXTENSIBLE;
49 #define SPEAKER_FRONT_LEFT 0x1
50 #define SPEAKER_FRONT_RIGHT 0x2
51 #define SPEAKER_FRONT_CENTER 0x4
52 #define SPEAKER_LOW_FREQUENCY 0x8
53 #define SPEAKER_BACK_LEFT 0x10
54 #define SPEAKER_BACK_RIGHT 0x20
55 #define SPEAKER_FRONT_LEFT_OF_CENTER 0x40
56 #define SPEAKER_FRONT_RIGHT_OF_CENTER 0x80
57 #define SPEAKER_BACK_CENTER 0x100
58 #define SPEAKER_SIDE_LEFT 0x200
59 #define SPEAKER_SIDE_RIGHT 0x400
60 #define SPEAKER_TOP_CENTER 0x800
61 #define SPEAKER_TOP_FRONT_LEFT 0x1000
62 #define SPEAKER_TOP_FRONT_CENTER 0x2000
63 #define SPEAKER_TOP_FRONT_RIGHT 0x4000
64 #define SPEAKER_TOP_BACK_LEFT 0x8000
65 #define SPEAKER_TOP_BACK_CENTER 0x10000
66 #define SPEAKER_TOP_BACK_RIGHT 0x20000
68 #ifdef __cplusplus
70 #endif
71 #endif