Copyright © 2001-2018 MultiMedia Soft

IsWavChunkAvailable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Verifies if a specific WAV chunk is available inside the loaded file.

 

Single fields of the chunk can be retrieved one by one using the GetWavChunkStringInfo, GetWavChunkNumericInfo and GetWavChunkBinaryInfo methods.

 

 

Syntax

 

[Visual Basic]

control.IsWavChunkAvailable (

nPlayer as Integer,

strChunkId as String

) as Integer


 

[C++]

short control.IsWavChunkAvailable (

short nPlayer,

LPCTSTR strChunkId

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

strChunkId

String representing the identifier of the chunk whose presence must be verified

Supported values are the following:

String value

Meaning

CART

Check CART chunk availability

BEXT

Check BEXT chunk availability

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

0

The requested chunk is not available inside the loaded sound

> 0

The requested chunk is available inside the loaded sound