SoundComposer.SessionLoad method |
|
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 SoundComposerMan class and the How to compose a sound tutorial.
Syntax
[Visual Basic] Public Function SessionLoad ( nPlayerIndex as Int16, strPathname as string ) as enumErrorCodes |
[C#] public enumErrorCodes SessionLoad ( Int16 nPlayerIndex, string strPathname ); |
[C++] public: enumErrorCodes SessionLoad ( Int16 nPlayerIndex, string strPathname ); |
Parameter |
Description |
|
|
nPlayerIndex |
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. |