MFORMATSLib Namespace > IMFFormat Interface : FormatAudioSet Method |
Sub FormatAudioSet( _ ByVal _eFormatType As eMFormatType, _ ByRef _pAudProps As M_AUD_PROPS _ )
void FormatAudioSet( eMFormatType _eFormatType, ref M_AUD_PROPS _pAudProps )
procedure FormatAudioSet( _eFormatType: eMFormatType; var _pAudProps: M_AUD_PROPS );
void FormatAudioSet( eMFormatType _eFormatType, ref M_AUD_PROPS _pAudProps )
Here is example of how to set a audio format for a live object:
M_AUD_PROPS audProps; string name; m_objLive.FormatAudioGetByIndex(eMFormatType.eMFT_Input, comboBoxAF.SelectedIndex, out audProps, out name); m_objLive.FormatAudioSet(eMFormatType.eMFT_Input, audProps);