Copyright © 2008-2018 MultiMedia Soft

SetStoreMode method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the mode used by the control to store sound data inside the editing session. The current store mode can be obtained using the GetStoreMode method.

 

 

Syntax

 

[Visual Basic]

control.SetStoreMode (

nMode as enumStoreModes

) as enumErrorCodes


 

[C++]

short control.SetStoreMode (

short nMode

);


 

 

Parameter

Description

 

 

nMode

Number representing the store mode.

Supported values are the following:

Mnemonic constant

Value

Meaning

STORE_MODE_MEMORY_BUFFER (Default)

0

Sound data is stored inside a memory bufferr: the pointer to the memory buffer can be obtained through a call to the GetMemoryPtr64 method while its size in bytes can be obtained using the GetMemorySize method.

STORE_MODE_TEMP_FILE

1

Sound data is stored inside a temporary file: the absolute pathname of the temporary file can be retrieved through the GetTempFilePathname method while its size in bytes can be obtained using the GetTempFileSize64 method.

 

 

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.