Copyright © 2001-2018 MultiMedia Soft

VolumeAutomation.Load method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a volume automation procedure from a XML-based VDJ file.

A successful call to this method will fire the VolumeAutomationLoaded event.

 

For details about using Volume Automation and for a reference about VDJ format refer to the How to manage Volume Automation tutorial.

 

 

Syntax

 

[Visual Basic]

control.VolumeAutomation.Load (

nPlayer as Integer,

strPathname as String

) as enumErrorCodes


 

[C++]

short control.VolumeAutomation.Load (

short nPlayer,

LPCTSTR strPathname

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

strFilename

String containing the absolute pathname of the VDJ file to load.

An empty string will force the control to search for a VDJ file having the same filename of the loaded sound but with extension .vdj: if for example the loaded sound file should be named MySong.mp3, the corresponding searched VDJ file would be named MySong.vdj

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.NOERROR (0)

The method call was successful

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.