Copyright © 2008-2015 MultiMedia Soft

EncodeFormats.MP2.GetTwoLameEncodingBitrateEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves a specific encoding bitrate (for Constant Bitrate or CBR) supported by TwoLame for a given frequency.

The number of available bitrates can be obtained using the EncodeFormats.MP2.GetTwoLameEncodingBitratesCountEx 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 GetTwoLameEncodingBitrateEx (

nFrequency as Int32,

nBitrateIndex as Int16

) as Int32


 

[C#]

public Int32 GetTwoLameEncodingBitrateEx (

Int32 nFrequency,

Int16 nBitrateIndex

);


 

[C++]

public: Int32 GetTwoLameEncodingBitrateEx (

Int32 nFrequency,

Int16 nBitrateIndex

);


 

 

Parameter

Description

 

 

nFrequency

Frequency expressed in Hertz (e.g. 44100)

nBitrateIndex

Number representing the zero-based index of the bitrate

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

> 0

The requested encoding costant bitrate