Copyright © 2005-2019 MultiMedia Soft

GetWavChunkBinaryInfo method

Previous pageReturn to chapter overviewNext page

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:

Mnemonic value

Value

Meaning

WAV_CHUNK_CART_BIN_Reserved

0

Reserved for future expansion (CART chunk only)

WAV_CHUNK_BEXT_BIN_UMID_0

1

Binary bytes of SMPTE UMID (BEXT chunk only)

WAV_CHUNK_BEXT_BIN_Reserved

2

Reserved for future expansion (BEXT chunk only)

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.