Remarks
Occurs whenever there is a change on the VU-Meter peak values: this event, generated every 50 milliseconds, can be useful if you need to implement your own VU-Meter graphical representation.
This event is fired only if you have created the VUMeter object though a call to the VUMeter.Create method.
Syntax
[Visual Basic]
Public Event VUMeterValueChange As VUMeterValueChangeEventHandler
|
|
[C#]
public event VUMeterValueChangeEventHandler VUMeterValueChange;
|
|
[C++]
public: __event VUMeterValueChangeEventHandler VUMeterValueChange;
|
|
Event Data
The event handler receives an argument of type VUMeterValueChangeEventArgs having the following parameters:
Parameters
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the player that fired the event
|
nLeftPeak
|
Number representing the peak value for the left channel: can assume values from 0 (no sound) to 32767 (max volume).
|
nRightPeak
|
Number representing the peak value for the right channel: can assume values from 0 (no sound) to 32767 (max volume).
If the sound is in Mono, the nLeftPeak and nRightPeak parameters assume the same value.
|
|