FormatAudioSet Method (MFLiveClass)
format type
audio properties
Sets audio format
Syntax
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
) 

Parameters

_eFormatType
format type
_pAudProps
audio properties
Example

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);
See Also

Reference

MFLiveClass Class
MFLiveClass Members