GetWavChunkBinaryInfo method |
|
Remarks
Obtains binary contents a specific binary field of the WAV chunk available inside the loaded file. You can know if a certain chunk is available through the IsWavChunkAvailable method.
Syntax
[Visual Basic] Public Function GetWavChunkBinaryInfo ( nPlayerIndex as Int16, nInfoField as enumWavChunkBinaryInfo pBuffer() as Byte, nBufferLength as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes GetWavChunkBinaryInfo ( Int16 nPlayerIndex, enumWavChunkBinaryInfo nInfoField, byte [] pBuffer, Int32 nBufferLength ); |
[C++] public: enumErrorCodes GetWavChunkBinaryInfo ( Int16 nPlayerIndex, enumWavChunkBinaryInfo nInfoField, unsigned char __gc[] pBuffer, Int32 nBufferLength ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nPlayer |
Number representing the zero-based index of the involved player |
||||||||||||
nInfoField |
Identifier of the needed field. Supported values are the following:
|
||||||||||||
pBuffer |
Destination buffer that will receive binary data. Allocating/freeing this buffer is responsibility of the container application. |
||||||||||||
nBufferLen |
Length in bytes of the destination buffer |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |