Copyright © 2006-2019 MultiMedia Soft

RecordedSound.FreeMemory method

Previous pageReturn to chapter overviewNext page

Remarks

 

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.

 

A successful call to this method will fire the SoundClosed event.

 

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

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

 

 

Syntax

 

[Visual Basic]

control.RecordedSound.FreeMemory (

) as enumErrorCodes


 

[C++]

short control.RecordedSound.FreeMemory (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.