Copyright © 2006-2019 MultiMedia Soft

EncodeFormats.ACM.GetCodecDesc method

Previous pageReturn to chapter overviewNext page

Remarks

 

Returns the friendly description of the given ACM (Audio Compression Manager) codec.

 

The total number of available ACM codecs can be obtained using the EncodeFormats.ACM.GetCodecsCount method.

 

For further details about the Windows Audio Compression Manager refer to the EncodeACM class section.

For a tutorial about the use of the Windows Audio Compression Manager refer to the How to use the Windows Audio Compression Manager section.

For further information about available encoding formats see the EncodeFormatsMan class.

 

 

Syntax

 

[Visual Basic]

Public Function GetCodecDesc (

nCodecIndex as Int16

) as String


 

[C#]

public string GetCodecDesc (

Int16 nCodecIndex

);


 

[C++]

public: string GetCodecDesc (

Int16 nCodecIndex

);


 

 

Parameter

Description

 

 

nCodecIndex

Number representing the zero-based index of the ACM codec

 

 

Return value

 

Value

Meaning

 

 

Empty string

The value of the nCodecIndex parameter was out of range. Use the value returned by the EncodeFromats.ACM.GetCodecsCount method in order to know how many ACM codecs are currently installed on the system.

Valid string

The string containing the friendly description of the requested ACM codec.