Copyright © 2006-2018 MultiMedia Soft

VUMeterValueChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

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

 

In case you should need to retrieve RMS (Root-Mean-Square) levels, you could use the StreamPeakLevelsGet method.

 

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

 

 

Syntax

 

[Visual Basic]

VUMeterValueChange (

ByVal nLeftPeak As integer,

ByVal nRightPeak As integer

)


 

[C++]

void VUMeterValueChange (

short nLeftPeak,

short nRightPeak

);


 

Parameter

Description

 

 

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.