Copyright © 2005-2018 MultiMedia Soft

SpectrumValueChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs whenever there is a change on the Spectrum peak values: this event, generated every 15 milliseconds, can be useful if you need to implement your own Spectrum graphical representation; after receiving this event, in order to obtain the Spectrum values to render graphically, you need to perform a call to the Spectrum.GetTable method.

 

This event is fired only if you have previously created the Spectrum object though a call to the Spectrum.Create method.

 

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

 

 

Syntax

 

[Visual Basic]

Public Event SpectrumValueChange As PlayerEventHandler


 

[C#]

public event PlayerEventHandler SpectrumValueChange;


 

[C++]

public: __event PlayerEventHandler SpectrumValueChange;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nPlayerIndex

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