TracksBoard.ItemSpeakerGet method |
|
Remarks
Obtains the speaker assigned to the given item. The current speaker can be modified through the TracksBoard.ItemSpeakerSet method.
For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.
For further details about methods of the TracksBoard refer to the TracksBoard class section.
Syntax
[Visual Basic] Public Function ItemSpeakerGet ( nUniqueId as Int32, ByRef nSpeaker as enumSpeakers ) as enumErrorCodes |
[C#] public enumErrorCodes ItemSpeakerGet ( Int32 nUniqueId, ref enumSpeakers nSpeaker ); |
[C++] public: enumErrorCodes ItemSpeakerGet ( Int32 nUniqueId, enumSpeakers __gc *nSpeaker ); |
Parameter |
Description |
|||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||
nUniqueId |
Unique identification number assigned to the sound item after being generated by one of the following methods:
|
|||||||||||||||||||||||||||||||||||||||
nSpeaker |
Reference that, after returning from the method call, will the contain speaker assigned to the given item. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |