Copyright © 2006-2019 MultiMedia Soft

EncodeFormats.MP2.GetTwoLameEncodingBitratesCountEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the number of encoding bitrates (Constant Bitrate or CBR) supported by TwoLame for a given frequency.

Each of the supported bitrates can be obtained at a later time using the EncodeFormats.MP2.GetTwoLameEncodingBitrateEx method.

 

For further details about encoding in MP2 format refer to the EncodeMP2 class section.

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

 

 

Syntax

 

[Visual Basic]

Public Function GetTwoLameEncodingBitratesCountEx (

nFrequency as Int32

) as Int16


 

[C#]

public Int16 GetTwoLameEncodingBitratesCountEx (

Int32 nFrequency

);


 

[C++]

public: Int16 GetTwoLameEncodingBitratesCountEx (

Int32 nFrequency

);


 

 

Parameter

Description

 

 

nFrequency

Frequency expressed in Hertz (e.g. 44100)

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

> 0

The number of supported encoding constant bitrates (CBR)