Copyright © 2006-2018 MultiMedia Soft

EncodeFormats.ResampleNativeFormatGetDesc method

Previous pageReturn to chapter overviewNext page



Retrieves the friendly description for a given recording format (e.g. "44100hz, Stereo, 16-bit").

The number of available recording formats can be obtained using the EncodeFormats.ResampleNativeFormatsGetCount method.


This method can be called only when the Status property is different from RECORD_STATUS_NOT_READY.


For further details about encoding and resampling options refer to the EncodeFormats object section.




[Visual Basic]

control.EncodeFormats.ResampleNativeFormatGetDesc (

nInputDevice as integer,

nFormatIndex as integer

) as integer



short control.EncodeFormats.ResampleNativeFormatGetDesc (

short nInputDevice,

short nFormatIndex









Number representing the zero-based index of the input device whose input channel must be retrieved. Use the value returned by the GetInputDevicesCount method in order to know how many input devices are currently installed on the system and the GetInputDeviceDesc method in order to retrieve the friendly name of each input device.


Number representing the zero-based index of the recording format




Return value






Empty string

An error occurred. Check the LastError property value in order to see the last error.

Valid string

The string containing the friendly description of the requested recording format.