MFORMATSLib Namespace > MFLiveClass Class : FormatAudioSet Method |
Public Overridable Sub FormatAudioSet( _ ByVal _eFormatType As eMFormatType, _ ByRef _pAudProps As M_AUD_PROPS _ )
public virtual void FormatAudioSet( eMFormatType _eFormatType, ref M_AUD_PROPS _pAudProps )
public procedure FormatAudioSet( _eFormatType: eMFormatType; var _pAudProps: M_AUD_PROPS ); virtual;
public: virtual 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);