Copyright © 2008-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 SoundComposer object and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

control.SoundComposer.ItemSoundFileVolumeSlidingUniqueIdGet (

nUniqueId as Long,

nIndex as Long,

ByRef nVolumeSlidingUniqueId as Long

) as enumErrorCodes


 

[C++]

short control.SoundComposer.ItemSoundFileVolumeSlidingUniqueIdGet (

long nUniqueId,

long nIndex,

long *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, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful