Copyright © 2008-2023 MultiMedia Soft

CallbackTracksboardItemVolumeChanged delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked when a volume operation is performed on a specific item on the TracksBoard, for example when the position of a volume point is modified or the vertical position of the amplitude line has been changed: this callback can be set through a call to the CallbackTracksboardItemVolumeChangedSet method.

 

The usage of this delegate is alternative to the TracksBoardItemVolumeChanged event.

 

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 TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackTracksboardItemVolumeChanged (

nUniqueID as Int32,

ByVal nVolumePoint as Int16

)


 

[C#]

public delegate void CallbackTracksboardItemVolumeChanged (

Int32 nUniqueID,

Int16 nVolumePoint

)


 

[C++]

public delegate void CallbackTracksboardItemVolumeChanged (

Int32 nUniqueID,

Int16 nVolumePoint

)


 

 

Parameter

Description

 

 

nUniqueID

Unique identification number assigned to the sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing item has been cloned

nVolumePoint

Value representing the zero-based index of the moved volume point; this parameter is set to -1 if the selection was for the container sound item only