Copyright © 2011-2018 MultiMedia Soft

SoundComposer.ItemSoundFileVolumeSlidingUniqueIdGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the unique identifier of a specific linear volume sliding, previously added through the SoundComposer.ItemSoundFileVolumeSlidingAdd method, from the given sound file item.

 

For further details about sound composing see the the SoundComposerMan class and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function ItemSoundFileVolumeSlidingUniqueIdGet (

nUniqueId as Int32,

nIndex as Int32,

ByRef nVolumeSlidingUniqueId as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSoundFileVolumeSlidingUniqueIdGet (

Int32 nUniqueId,

Int32 nIndex,

ref Int32 nVolumeSlidingUniqueId

);


 

[C++]

public: enumErrorCodes ItemSoundFileVolumeSlidingUniqueIdGet (

Int32 nUniqueId,

Int32 nIndex,

Int32 __gc *nVolumeSlidingUniqueId

);


 

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.

nIndex

The zero-based index of the linear volume sliding: the total number of existing linear volume sliding added to the given sound file item can be obtained through the SoundComposer.ItemSoundFileVolumeSlidingNumGet method

nVolumeSlidingUniqueId

Reference that, on return from the method call, will contain the the unique identifier of the linear volume sliding created by the call to the SoundComposer.ItemSoundFileVolumeSlidingAdd method.

 

 

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.