Copyright © 2008-2019 MultiMedia Soft

EncodeFormats.MP3.GetLameEncodingBitrateEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

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

The number of available bitrates can be obtained using the EncodeFormats.MP3.GetLameEncodingBitratesCountEx method.

 

For further details about encoding in MP3 format refer to the MP3 object section.

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

 

 

Syntax

 

[Visual Basic]

control.EncodeFormats.MP3.GetLameEncodingBitrate (

nFrequency as Long,

nBitrateIndex as Integer

) as long


 

[C++]

long control.EncodeFormats.MP3.GetLameEncodingBitrate (

long nFrequency,

short 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 bitrate