Copyright © 2001-2019 MultiMedia Soft

WaveformValueChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs whenever there is a change on the waveform peak values: this event, generated every 15 milliseconds, can be useful if you need to implement your own waveform graphical representation.

 

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

WaveformValueChange (

ByVal nPlayer as Integer,

ByVal nPeakMin as Integer,

ByVal nPeakMax as Integer

)


 

[C++]

void WaveformValueChange (

short nPlayer,

short nPeakMin,

short nPeakMax

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that fired the event

nPeakMin

Number representing the min peak value: can assume values from 0 (no sound) to 32767 (max volume).

nPeakMax

Number representing the max peak value: can assume values from 0 (no sound) to 32767 (max volume).