Copyright © 2008-2018 MultiMedia Soft

SetMixingPos method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the loading mode for the current editing session has been set to LOAD_MODE_MIX through a previous call to the SetLoadingMode method, sets the position and range where a new loaded sound will be mixed to contents of the current editing session.

 

More advanced mixing settings can be initialized through the SetMixingParams method. The call to the SetMixingPos method must be performed BEFORE calling the SetMixingParams method otherwise parameters set into the SetMixingParams method would be reset and lost.

 

 

Syntax

 

[Visual Basic]

control.SetMixingPos (

nStartPosition as Long,

nEndPosition as Long

) as enumErrorCodes


 

[C++]

short control.SetMixingPos (

long nStartPosition,

long nEndPosition

);


 

 

Parameter

Description

 

 

nStartPosition

Number representing the start position, expressed in milliseconds, inside the editing session where mixing will begin

nEndPosition

Number representing the end position, expressed in milliseconds, inside the editing session where mixing will end: if this parameter is set to -1, the mixing will be applied till the end of the recording session

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.