Copyright © 2008-2018 MultiMedia Soft

GetMemorySize method

Previous pageReturn to chapter overviewNext page



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.





[Visual Basic]

Public Function GetMemorySize (

) as Int32



public Int32 GetMemorySize (




public: Int32 GetMemorySize (




Return value






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