ReactOS  0.4.15-dev-1207-g698a8e6
mpegtype.h File Reference

Go to the source code of this file.

Classes

struct  tagAM_MPEGSTREAMTYPE
 
struct  tagAM_MPEGSYSTEMTYPE
 

Macros

#define AM_MPEGSTREAMTYPE_ELEMENTLENGTH(pStreamType)   FIELD_OFFSET(AM_MPEGSTREAMTYPE, bFormat[(pStreamType)->mt.cbFormat])
 
#define AM_MPEGSTREAMTYPE_NEXT(pStreamType)   ((AM_MPEGSTREAMTYPE *)((PBYTE)(pStreamType) + ((AM_MPEGSTREAMTYPE_ELEMENTLENGTH(pStreamType) + 7) & ~7)))
 
#define AM_MPEG_AUDIO_DUAL_MERGE   0
 
#define AM_MPEG_AUDIO_DUAL_LEFT   1
 
#define AM_MPEG_AUDIO_DUAL_RIGHT   2
 

Typedefs

typedef struct tagAM_MPEGSTREAMTYPE AM_MPEGSTREAMTYPE
 
typedef struct tagAM_MPEGSYSTEMTYPE AM_MPEGSYSTEMTYPE
 

Functions

 DECLARE_INTERFACE_ (IMpegAudioDecoder, IUnknown)
 

Macro Definition Documentation

◆ AM_MPEG_AUDIO_DUAL_LEFT

#define AM_MPEG_AUDIO_DUAL_LEFT   1

Definition at line 51 of file mpegtype.h.

◆ AM_MPEG_AUDIO_DUAL_MERGE

#define AM_MPEG_AUDIO_DUAL_MERGE   0

Definition at line 50 of file mpegtype.h.

◆ AM_MPEG_AUDIO_DUAL_RIGHT

#define AM_MPEG_AUDIO_DUAL_RIGHT   2

Definition at line 52 of file mpegtype.h.

◆ AM_MPEGSTREAMTYPE_ELEMENTLENGTH

#define AM_MPEGSTREAMTYPE_ELEMENTLENGTH (   pStreamType)    FIELD_OFFSET(AM_MPEGSTREAMTYPE, bFormat[(pStreamType)->mt.cbFormat])

Definition at line 48 of file mpegtype.h.

◆ AM_MPEGSTREAMTYPE_NEXT

#define AM_MPEGSTREAMTYPE_NEXT (   pStreamType)    ((AM_MPEGSTREAMTYPE *)((PBYTE)(pStreamType) + ((AM_MPEGSTREAMTYPE_ELEMENTLENGTH(pStreamType) + 7) & ~7)))

Definition at line 49 of file mpegtype.h.

Typedef Documentation

◆ AM_MPEGSTREAMTYPE

◆ AM_MPEGSYSTEMTYPE

Function Documentation

◆ DECLARE_INTERFACE_()

DECLARE_INTERFACE_ ( IMpegAudioDecoder  ,
IUnknown   
)

Definition at line 26 of file mpegtype.h.

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 };
#define THIS_
Definition: basetyps.h:65
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64