Copyright © 2008-2019 MultiMedia Soft

CloseSound method

Previous pageReturn to chapter overviewNext page

Remarks

 

Discards a loaded sound and frees its memory: if the editing session was stored inside a temporary file, this will be deleted.

 

Calling this method will generate a SoundClosed event.

 

 

Syntax

 

[Visual Basic]

control.CloseSound (

) as enumErrorCodes


 

[C++]

short control.CloseSound (

);


 

 

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.