Copyright © 2011-2019 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]

Public Function SetMixingPos (

nStartPosition as Int32,

nEndPosition as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetMixingPos (

Int32 nStartPosition,

Int32 nEndPosition

);


 

[C++]

public: enumErrorCodes SetMixingPos (

Int32 nStartPosition,

Int32 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 editing session

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.