Copyright © 2006-2019 MultiMedia Soft

EncodeFormats.ResampleNativeFormatsGetCount method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the number of supported recording formats.

The friendly description of each recording format can be obtained using the EncodeFormats.ResampleNativeFormatGetDesc 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 EncodeFormatsMan class section.

 

Syntax

 

[Visual Basic]

Public Function ResampleNativeFormatsGetCount (

nInputDevice as Int16

) as Int16


 

[C#]

public Int16 ResampleNativeFormatsGetCount (

Int16 nInputDevice

);


 

[C++]

public: Int16 ResampleNativeFormatsGetCount (

Int16 nInputDevice

);


 

 

Parameter

Description

 

 

nInputDevice

Number representing the zero-based index of the input device. 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.

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

> 0

The number of supported formats.