Copyright © 2006-2018 MultiMedia Soft

CallbackWaveformValueChange delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked 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. This callback can be set through a call to the CallbackWaveformValueChangeSet method.

 

For further details about callback delegates see the How to synchronize the container application through callback delegates tutorial.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackWaveformValueChange (

nPeakMin as Int16,

nPeakMax as Int16

)


 

[C#]

public delegate void CallbackWaveformValueChange (

Int16 nPeakMin,

Int16 nPeakMax

)


 

[C++]

public delegate void CallbackWaveformValueChange (

Int16 nPeakMin,

Int16 nPeakMax

)


 

Parameter

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