Copyright © 2008-2019 MultiMedia Soft

SoundComposer.ItemSoundFileVolumeFadingRemove method

Previous pageReturn to chapter overviewNext page

Remarks

 

Removes the requested volume fading. A specific fading can be added through the SoundComposer.ItemSoundFileVolumeFadingSet method.

 

For further details about sound composing see the the SoundComposer object and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

control.SoundComposer.ItemSoundFileVolumeFadingRemove (

nUniqueId as Long,

bFadeIn as enumBoolean

) as enumErrorCodes


 

[C++]

short control.SoundComposer.ItemSoundFileVolumeFadingRemove (

long nUniqueId,

short bFadeIn

);


 

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.

bFadeIn

Boolean value specifying if the fading is a fade-in or a fade-out.

Supported values are the following:

Mnemonic Value

Meaning

BOOL_FALSE

Removes the fade-out

BOOL_TRUE

Removes the fade-in

 

 

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