Copyright © 2001-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]

control.GetWavChunkBinaryInfo (

nPlayer as Integer,

nInfoField as enumWavChunkBinaryInfo,

pBuffer as Variant,

nBufferLen as Long

) as enumErrorCodes


 

[C++]

short control.GetWavChunkBinaryInfo (

short nPlayer,

short nInfoField,

const VARIANT FAR& pBuffer,

long nBufferLen

);


 

 

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

Variant parameter containing the pointer to a pre-allocated 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 call was successful