Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
EncodeFormats.WMA.GetEncodingVBRQualitiesCount method 
 
Remarks 
 
Retrieves the number of supported encoding qualities (for Variable Bit Rate support) for a given native resampling format. 
Each of the supported qualities can be obtained at a later time using the EncodeFormats.WMA.GetEncodingVBRQuality method. 
 
This method can be called only after receiving the InputFormatsAvailable event. 
 
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 GetEncodingVBRQualitiesCount
nInputDevice as Int16, 
nFormatIndex as Int16 
) as Int16 
 
[C#] 
public Int16 GetEncodingVBRQualitiesCount
Int16 nInputDevice
Int16 nFormatIndex 
);
 
[C++] 
public: Int16 GetEncodingVBRQualitiesCount
Int16 nInputDevice, 
Int16 nFormatIndex 
);
 
 
Parameter
Description
 
 
nInputDevice
Number representing the zero-based index of the input device
nFormatIndex
Number representing the zero-based index of the native resampling format. 
The number of native resampling formats supported by the given input device can be obtained using the EncodeFormats.ResampleNativeFormatsGetCount method and their friendly description can be obtained using the EncodeFormats.ResampleNativeFormatGetDesc method.
 
 
 
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents