|
Copyright © 2006 - 2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function GetCodecFormatWavDataLength (
nCodecIndex as Int16,
nCodecFormatIndex as Int16,
ByRef sizeWavData as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes GetCodecFormatWavDataLength (
Int16 nCodecIndex,
Int16 nCodecFormatIndex,
ref Int32 sizeWavData
);
|
|
[C++]
public: enumErrorCodes GetCodecFormatWavDataLength (
Int16 nCodecIndex,
Int16 nCodecFormatIndex,
ref Int32 sizeWavData
);
|
|
Parameter
|
Description
|
|
|
|
|
nCodecIndex
|
Number representing the zero-based index of the ACM codec
|
|
nCodecFormatIndex
|
Number representing the zero-based index of the format for the given ACM codec
|
|
sizeWavData
|
Reference that, on return from the method call, will contain the size in bytes of the WAVEFORMATEX data structure: it's important to note that this value will be inclusive of any extra-byte required by the specific format.
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to get the error code
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful
|