Copyright © 2008-2018 MultiMedia Soft

CloseSound method

Previous pageReturn to chapter overviewNext page



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.





[Visual Basic]

Public Function CloseSound (

) as enumErrorCodes



public enumErrorCodes CloseSound (




public: enumErrorCodes CloseSound (




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.