|
Copyright © 2006 - 2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function GetEncodingBitrate (
nInputDevice as Int16,
nFormatIndex as Int16
nBitrateIndex as Int16,
) as Int32
|
|
[C#]
public Int32 GetEncodingBitrate (
Int16 nInputDevice,
Int16 nFormatIndex
Int16 nBitrateIndex,
);
|
|
[C++]
public: Int32 GetEncodingBitrate (
Int16 nInputDevice,
Int16 nFormatIndex
Int16 nBitrateIndex,
);
|
|
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.
|
|
nBitrateIndex
|
Number representing the zero-based index of the bitrate
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred. Check the LastError property value in order to see the last error.
|
|
> 0
|
The requested encoding costant bitrate
|