Copyright © 2005-2018 MultiMedia Soft

GetWavChunkNumericInfo method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a specific numeric value from a 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 GetWavChunkNumericInfo (

nPlayerIndex as Int16,

nInfoField as enumWavChunkNumericInfo

) as Int32


 

[C#]

public Int32 GetWavChunkNumericInfo (

Int16 nPlayerIndex,

enumWavChunkNumericInfo nInfoField

);


 

[C++]

public: Int32 GetWavChunkNumericInfo (

Int16 nPlayerIndex,

enumWavChunkNumericInfo nInfoField

);


 

 

Parameter

Description

 

 

nPlayerIndex

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_NUM_LevelReference

0

Sample value for 0 dB reference (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_0

1

Time marker after head value (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_1

2

Time marker after head value (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_2

3

Time marker after head value (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_3

4

Time marker after head value (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_4

5

Time marker after head value (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_5

6

Time marker after head value (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_6

7

Time marker after head value (CART chunk only)

WAV_CHUNK_CART_NUM_PostTimer_Value_7

8

Time marker after head value (CART chunk only)

WAV_CHUNK_BEXT_NUM_TimeReferenceLow

9

First sample count since midnight low word (BEXT chunk only)

WAV_CHUNK_BEXT_NUM_TimeReferenceHigh

10

First sample count since midnight, high word (BEXT chunk only)

WAV_CHUNK_BEXT_NUM_Version

11

Version of the BWF; unsigned binary number (BEXT chunk only)

 

 

Return value

 

The value of the requested field