SoundComposer.ItemSoundFileVolumeSlidingNumGet method |
|
Remarks
Obtains number of linear volume sliding added to the sound file item through one or more calls to the SoundComposer.ItemSoundFileVolumeSlidingAdd method.
After obtaining the number of available linear volume sliding you can obtain the unique identifier for each of them through calls to the SoundComposer.ItemSoundFileVolumeSlidingUniqueIdGet 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 ItemSoundFileVolumeSlidingNumGet ( nUniqueId as Int32, ByRef nVolumeSlidingNum as Long ) as enumErrorCodes |
[C#] public enumErrorCodes ItemSoundFileVolumeSlidingNumGet ( Int32 nUniqueId, ref Int32 nVolumeSlidingNum ); |
[C++] public: enumErrorCodes ItemSoundFileVolumeSlidingNumGet ( Int32 nUniqueId, Int32 __gc *nVolumeSlidingNum ); |
Parameter |
Description |
|
|
nUniqueId |
The unique identifier of the sound file item previously returned by the call to one of the following methods: SoundComposer.ItemSoundFileAdd, SoundComposer.ItemSoundFileMemoryAdd, SoundComposer.ItemSoundFileRawAdd, SoundComposer.ItemSoundFileMemoryRawAdd, SoundComposer.ItemSoundFileFromEditorAdd, or SoundComposer.ItemSoundFileFromRecorderAdd. |
nVolumeSlidingNum |
Reference that, on return from the method call, will contain the number of linear volume sliding added to the sound file item. |
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. |