Copyright © 2008-2023 MultiMedia Soft

GetMemorySize method

Previous pageReturn to chapter overviewNext page

Remarks

 

If an editing session is set to store sound data in memory, this method will return the size in bytes of the buffer. The buffer's address in memory can be retrieved through the GetMemoryPtr method.

The store mode can be retrieved through the GetStoreMode method and set through the SetStoreMode method.

 

 

Syntax

 

[Visual Basic]

Public Function GetMemorySize (

) as Int32


 

[C#]

public Int32 GetMemorySize (

);


 

[C++]

public: Int32 GetMemorySize (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

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

> 0

The buffer's size expressed in bytes