Copyright © 2006-2016 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 MP2 object section.

For further information about available encoding formats see the EncodeFormats object.

 

 

Syntax

 

[Visual Basic]

control.EncodeFormats.MP2.GetTwoLameEncodingBitratesCountEx (

nFrequency as Long

) as integer


 

[C++]

short control.EncodeFormats.MP2.GetTwoLameEncodingBitratesCountEx (

long 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 bitrates