Copyright © 2001-2023 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 WMA object section.

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

 

 

Syntax

 

[Visual Basic]

control.EncodeFormats.WMA.GetEncodingVBRQualitiesCountEx (

nFrequency as Long,

nChannels as Integer

) as integer


 

[C++]

short control.EncodeFormats.WMA.GetEncodingVBRQualitiesCountEx (

long nFrequency,

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