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

Public Event WaveformValueChange As WaveformValueChangeEventHandler


 

[C#]

public event WaveformValueChangeEventHandler WaveformValueChange;


 

[C++]

public: __event WaveformValueChangeEventHandler WaveformValueChange;


 

 

Event Data

 

The event handler receives an argument of type WaveformValueChangeEventArgs having the following parameters:

 

Parameters

Description

 

 

nPlayerIndex

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).