Operates audio and video formats
Methods
FormatAudioGet
Gets current audio format
Syntax
void FormatAudioGet( eMFormatType _eFormatType, out M_AUD_PROPS _pAudProps, out int _pnIndex, out string _pbsName )
Parameters
_eFormatType - format type
_pAudProps - audio properties
_pnIndex - index of the format
_pbsName - format's name
FormatAudioGetByIndex
Gets an audio format by its index
Syntax
void FormatAudioGetByIndex( eMFormatType _eFormatType, int _nIndex, out M_AUD_PROPS _pAudProps, out string _pbsName )
Parameters
_eFormatType - format's type
_nIndex - format's index
_pAudProps - audio properties
_pbsName - format's name
FormatAudioGetCount
Gets number of available formats for selected type
Syntax
void FormatAudioGetCount( eMFormatType _eFormatType, out int _pnCount )
Parameters
_eFormatType - format's type
_pnCount - number of available formats
FormatAudioSet
Sets audio format
Syntax
void FormatAudioSet( eMFormatType _eFormatType, ref M_AUD_PROPS _pAudProps )
Parameters
_eFormatType - format type
_pAudProps - audio properties
FormatVideoGet
Gets a current video format
Syntax
void FormatVideoGet( eMFormatType _eFormatType, out M_VID_PROPS _pVidProps, out int _pnIndex, out string _pbsName )
Parameters
_eFormatType - format type
_pVidProps - video properties
_pnIndex - index of current video format
_pbsName - name of the format
FormatVideoGetByIndex
Gets the video format by its index.
Syntax
void FormatVideoGetByIndex( eMFormatType _eFormatType, int _nIndex, out M_VID_PROPS _pVidProps, out string _pbsName )
Parameters
_eFormatType - format type
_nIndex - index of a format
_pVidProps - video properties
_pbsName - name of the format
FormatVideoGetCount
Gets a number of available video formats of selected type.
Syntax
void FormatVideoGetCount( eMFormatType _eFormatType, out int _pnCount )
Parameters
_eFormatType - format type
_pnCount - number of available formats
FormatVideoSet
Syntax
Parameters
- _eFormatType - format type
- _pVidProps - video properties