Copyright © 2008-2018 MultiMedia Soft

SoundComposer.ItemSoundFileLoadRangeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the sound file loading range used when the sound file will be merged into the session's stream. The loading range can be modified through a call to the SoundComposer.ItemSoundFileLoadRangeSet 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.ItemSoundFileLoadRangeGet (

nUniqueId as Long,

ByRef nStartPositionMs as Long,

ByRef nEndPositionMs as Long

) as enumErrorCodes


 

[C++]

short control.SoundComposer.ItemSoundFileLoadRangeGet (

long nUniqueId,

long *nStartPositionMs,

long *nEndPositionMs

);


 

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.

nStartPositionMs

Reference that, on return from the method call, will contain the starting position, expressed in milliseconds, where the sound file loading will occur

nEndPositionMs

Reference that, on return from the method call, will contain the ending position, expressed in milliseconds, where the sound file loading will occur

 

 

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