Copyright © 2006-2019 MultiMedia Soft

CallbackWaveformAnalyzerSelection delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked every time a portion of the waveform on the waveform analyzer has been selected/deselected through a mouse operation or through a call to the WaveformAnalyzer.SetSelection method: this callback can be set through a call to the CallbackWaveformAnalyzerSelectionSet method.

 

For further details about callback delegates see the How to synchronize the container application through callback delegates 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 CallbackWaveformAnalyzerSelection (

bSelectionAvailable as Boolean,

nBeginPosInMs as Int32,

nEndPosInMs as Int32

)


 

[C#]

public delegate void CallbackWaveformAnalyzerSelection (

bool bSelectionAvailable,

Int32 nBeginPosInMs,

Int32 nEndPosInMs

)


 

[C++]

public delegate void CallbackWaveformAnalyzerSelection (

bool bSelectionAvailable,

Int32 nBeginPosInMs,

Int32 nEndPosInMs

)


 

Parameter

Description

 

 

bSelectionAvailable

Flag for selection availability.

Supported values are the following:

Value

Meaning

false

No selection is currently available. In this case values passed through nBeginPosInMs and nEndPosInMs parameters must be ignored.

true

A selection is currently available and the start and end positions are inside nBeginPosInMs and nEndPosInMs parameters.

nBeginPosInMs

The selection's start position, expressed in milliseconds

nEndPosInMs

The selection's end position, expressed in milliseconds