ReactOS 0.4.15-dev-8138-g1e75ea8
mpegtype.h
Go to the documentation of this file.
1
2#ifndef __MPEGTYPE__
3#define __MPEGTYPE__
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9
10
12{
18
20{
25
26DECLARE_INTERFACE_(IMpegAudioDecoder, IUnknown)
27{
28 STDMETHOD(get_FrequencyDivider) (THIS_ unsigned long *pDivider) PURE;
29 STDMETHOD(put_FrequencyDivider) (THIS_ unsigned long Divider) PURE;
30 STDMETHOD(get_DecoderAccuracy) (THIS_ unsigned long *pAccuracy) PURE;
31 STDMETHOD(put_DecoderAccuracy) (THIS_ unsigned long Accuracy) PURE;
32 STDMETHOD(get_Stereo) (THIS_ unsigned long *pStereo ) PURE;
33 STDMETHOD(put_Stereo) (THIS_ unsigned long Stereo) PURE;
34 STDMETHOD(get_DecoderWordSize) (THIS_ unsigned long *pWordSize) PURE;
35 STDMETHOD(put_DecoderWordSize) (THIS_ unsigned long WordSize) PURE;
36 STDMETHOD(get_IntegerDecode) (THIS_ unsigned long *pIntDecode) PURE;
37 STDMETHOD(put_IntegerDecode) (THIS_ unsigned long IntDecode) PURE;
38 STDMETHOD(get_DualMode) (THIS_ unsigned long *pIntDecode) PURE;
39 STDMETHOD(put_DualMode) (THIS_ unsigned long IntDecode) PURE;
40 STDMETHOD(get_AudioFormat) (THIS_ MPEG1WAVEFORMAT *lpFmt) PURE;
41};
42
43#ifdef
44}
45#endif
46#endif
47
48#define AM_MPEGSTREAMTYPE_ELEMENTLENGTH(pStreamType) FIELD_OFFSET(AM_MPEGSTREAMTYPE, bFormat[(pStreamType)->mt.cbFormat])
49#define AM_MPEGSTREAMTYPE_NEXT(pStreamType) ((AM_MPEGSTREAMTYPE *)((PBYTE)(pStreamType) + ((AM_MPEGSTREAMTYPE_ELEMENTLENGTH(pStreamType) + 7) & ~7)))
50#define AM_MPEG_AUDIO_DUAL_MERGE 0
51#define AM_MPEG_AUDIO_DUAL_LEFT 1
52#define AM_MPEG_AUDIO_DUAL_RIGHT 2
53
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned long DWORD
Definition: ntddk_ex.h:95
struct tagAM_MPEGSTREAMTYPE AM_MPEGSTREAMTYPE
struct tagAM_MPEGSYSTEMTYPE AM_MPEGSYSTEMTYPE
AM_MEDIA_TYPE mt
Definition: mpegtype.h:15
AM_MPEGSTREAMTYPE Streams[1]
Definition: mpegtype.h:23
unsigned char BYTE
Definition: xxhash.c:193