MFAVPropsGet Method (IMFFrame)
media properties
number of audio samples
Gets media properties of the frame
Syntax
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
) 

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

IMFFrame Interface
IMFFrame Members