Copyright © 2001-2019 MultiMedia Soft

SoundComposer.SessionItemsCountGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of items currently added to the session previously created through the SoundComposer.SessionCreate 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.SessionItemsCountGet (

nPlayer as Integer,

ByRef nItems as Long

) as enumErrorCodes


 

[C++]

short control.SoundGenerator.SessionItemsCountGet (

short nPlayer,

long *nItems

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that owns the sound composer session

nItems

Reference that, on return from the method call, will contain the number of items

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.