Copyright © 2008-2023 MultiMedia Soft

GetStoreMode method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the mode used by the control to store sound data inside the editing session. The store mode can be modified using the SetStoreMode method.

 

 

Syntax

 

[Visual Basic]

control.GetStoreMode (

) as enumStoreModes


 

[C++]

short control.GetStoreMode (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

>= 0

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 buffer: 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.