Copyright © 2001-2019 MultiMedia Soft

SoundComposer.SessionLoad method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a session from a XML file.

Session's XML files can be created manually through a normal text editor, through your own code or through a previous call to the SoundComposer.SessionSave method.

 

For further details about sound composing see the the SoundComposer object and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

control.SoundGenerator.SessionLoad (

nPlayer as Integer,

strPathname as String

) as enumErrorCodes


 

[C++]

short control.SoundGenerator.SessionLoad (

short nPlayer,

LPCTSTR strPathname

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

strPathname

String containing the absolute pathname of the XML file containing session items to load.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.