Copyright © 2008-2015 MultiMedia Soft

EncodeFormats.WMA.GetEncodingVBRQualitiesCountEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the number of encoding qualities (for Variable Bit Rate support) supported by Windows Media components for a given frequency and number of channels.

Each of the supported qualities can be obtained at a later time using the EncodeFormats.WMA.GetEncodingVBRQualityEx method.

 

For further details about encoding in WMA format refer to the EncodeWMA class section.

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

 

 

Syntax

 

[Visual Basic]

Public Function GetEncodingVBRQualitiesCountEx (

nFrequency as Int32,

nChannels as Int16

) as Int16


 

[C#]

public Int16 GetEncodingVBRQualitiesCountEx (

Int32 nFrequency,

Int16 nChannels

);


 

[C++]

public: Int16 GetEncodingVBRQualitiesCountEx (

Int32 nFrequency,

Int16 nChannels

);


 

 

Parameter

Description

 

 

nFrequency

Frequency expressed in Hertz (e.g. 44100)

nChannels

Number of channels: 1 for Mono, 2 for Stereo.

Multi-channel is not supported.

 

 

 

 

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 Variable Bit Rate qualities.