Copyright © 2011-2019 MultiMedia Soft

SetOverwritePos method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the loading mode for the current editing session has been set to LOAD_MODE_OVERWRITE through a previous call to the SetLoadingMode method, sets the position and range inside the current editing session where a new loaded sound will start overwriting existing sound contents.

 

 

Syntax

 

[Visual Basic]

Public Function SetOverwritePos (

nStartPosition as Int32,

nEndPosition as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetOverwritePos (

Int32 nStartPosition,

Int32 nEndPosition

);


 

[C++]

public: enumErrorCodes SetOverwritePos (

Int32 nStartPosition,

Int32 nEndPosition

);


 

 

Parameter

Description

 

 

nStartPosition

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

nEndPosition

Number representing the end position, expressed in milliseconds, inside the editing session where overwrite will end: if this parameter is set to -1, the overwrite 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.