Copyright © 2011-2023 MultiMedia Soft

GetMemoryPtr 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 memory address (pointer) of the buffer containing sound data. The actual size of the memory buffer can be retrieved using the GetMemorySize method.

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

 

 

Syntax

 

[Visual Basic]

Public Function GetMemoryPtr (

) as long


 

[C#]

public long GetMemoryPtr (

);


 

[C++]

public: long GetMemoryPtr (

);


 

 

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 memory address