Copyright © 2006-2019 MultiMedia Soft

EncodeFormats.MP3.GetLameEncodingBitratesCountEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

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

Each of the supported bitrates can be obtained at a later time using the EncodeFormats.MP3.GetLameEncodingBitrateEx 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.GetLameEncodingBitratesCountEx (

nFrequency as Long

) as integer


 

[C++]

short control.EncodeFormats.MP3.GetLameEncodingBitratesCountEx (

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