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