MFORMATSLib Namespace > IMFFrame Interface : MFAVPropsGet Method |
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 )
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);