Copyright © 2008-2015 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]

Public Function GetStoreMode (

) as enumStoreModes


 

[C#]

public enumStoreModes GetStoreMode (

);


 

[C++]

public: enumStoreModes GetStoreMode (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

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

>= 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 GetMemoryPtr 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 GetTempFileSize method.