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


media properties
number of audio samples

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


IMFFrame Interface
IMFFrame Members