Copyright © 2011-2023 MultiMedia Soft

OnTracksBoardItemVolumeChanged event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the volume and/or the amplitude of a sound item on the TracksBoard is changed.

 

This event replaces the usage of the CallbackTracksboardItemVolumeChanged delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_EDT_TRACKSB_ITEM_VOLUME.

 

 

Syntax

 

[Visual Basic]

EditorApi_OnTracksBoardItemVolumeChanged (

ByVal nUniqueID as Integer,

ByVal nVolumePoint as Integer

)

 

where "EditorApi" is declared in Visual Basic 6 code as:

 

Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj


 

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