MFAVPropsGet Method (MFFrameClass)
media properties
number of audio samples
Gets media properties of the frame
Syntax
Public Overridable Sub MFAVPropsGet( _
   ByRef _pProps As M_AV_PROPS, _
   ByRef _plAudioSamples As Integer _
) 
public virtual void MFAVPropsGet( 
   out M_AV_PROPS _pProps,
   out int _plAudioSamples
)
public procedure MFAVPropsGet( 
   Out  _pProps: M_AV_PROPS;
   Out  _plAudioSamples: Integer
); virtual; 
public: virtual void MFAVPropsGet( 
   [PARAMFLAG::Out] M_AV_PROPS _pProps,
   [PARAMFLAG::Out] int _plAudioSamples
) 

Parameters

_pProps
media properties
_plAudioSamples
number of audio samples
Example

Here is an example of how to get media properties of a frame:

MFFrame pFrame;
m_objLive.SourceFrameConvertedGet(ref m_avProps, -1, out pFrame, "");
M_AV_PROPS props;
int audioSamples;
pFrame.MFAVPropsGet(out props, out audioSamples);
See Also

Reference

MFFrameClass Class
MFFrameClass Members