Copyright © 2006-2018 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

 

 

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