Copyright © 2011-2019 MultiMedia Soft

CallbackWaveformAnalyzerHorzLineReached delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked when the playback position reaches a graphic item of type "horizontal line" inside the waveform analyzer: this callback can be set through a call to the CallbackWaveformAnalyzerHorzLineReachedSet method.

 

For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.

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

For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackWaveformAnalyzerHorzLineReached (

nUniqueID as Int16,

nStartPosInMs as Int32

nEndPosInMs as Int32

)


 

[C#]

public delegate void CallbackWaveformAnalyzerHorzLineReached (

Int16 nUniqueID,

Int32 nStartPosInMs,

Int32 nEndPosInMs

)


 

[C++]

public delegate void CallbackWaveformAnalyzerHorzLineReached (

Int16 nUniqueID,

Int32 nStartPosInMs,

Int32 nEndPosInMs

)


 

Parameter

Description

 

 

nUniqueID

Unique identifier of the horizontal line; this unique identifier matches the unique identifier used when the custom line was created through the WaveformAnalyzer.GraphicItemHorizontalLineAdd method.

nStartPosInMs

Start position of the horizontal line expressed in milliseconds

nEndPosInMs

End position of the horizontal line expressed in milliseconds