SoundComposer.ItemSoundFileVolumeSmoothingGet method |
|
Remarks
Obtains the eventual volume smoothing at the beginning and at the end of the given sound file item. The volume smoothing can be modified or removed through the SoundComposer.ItemSoundFileVolumeSmoothingSet method.
For further details about sound composing see the the SoundComposer object and the How to compose a sound tutorial.
Syntax
[Visual Basic] control.SoundGenerator.ItemSoundFileVolumeSmoothingGet ( nPlayer as Integer, nUniqueId as Long, ByRef nSlideDurationStartMs as Long, ByRef nSlideDurationEndMs as Long ) as enumErrorCodes |
[C++] short control.SoundGenerator.ItemSoundFileVolumeSmoothingGet ( short nPlayer, long nUniqueId, long *nSlideDurationStartMs, long *nSlideDurationEndMs ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the player that owns the sound composer session |
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. |
nSlideDurationStartMs |
Reference to a value that, on return from the method call, will contain the duration of the volume fade-in, expressed in milliseconds, at the beginning of the item |
nSlideDurationEndMs |
Reference to a value that, on return from the method call, will contain the duration of the volume fade-out, expressed in milliseconds, at the end of the 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. |