Copyright © 2006-2018 MultiMedia Soft

RecordedSound.FreeMemory method

Previous pageReturn to chapter overviewNext page



If sound data resulting from a recording session has been stored in memory, this method frees the memory buffer. For file-based recording sessions, the original output file won't be deleted but the control will no more consider it as belonging to the latest recording session.


For further details about recorded sound methods refer to the RecordedSound class section.

For further details see the How to perform a recording session section.





[Visual Basic]

Public Function FreeMemory (

) as enumErrorCodes



public enumErrorCodes FreeMemory (




public: enumErrorCodes FreeMemory (




Return value






Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.