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 and resampling options refer to the EncodeMp3 class section.

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

 

 

Syntax

 

[Visual Basic]

Public Function GetLameEncodingBitratesCountEx (

nFrequency as Int32

) as Int16


 

[C#]

public Int16 GetLameEncodingBitratesCountEx (

Int32 nFrequency

);


 

[C++]

public: Int16 GetLameEncodingBitratesCountEx (

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)