IrrKlang.NET

ISoundEngine.RemoveSoundSourceMethod

Removes a sound source from the engine, freeing the memory it occupies. This will also cause all currently playing sounds of this source to be stopped. Also note that if the source has been removed successfully, the value returned by getSoundSourceCount() will have been decreased by one. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.

[VisualBasic]
PublicSubRemoveSoundSource( _
ByVal soundNameAsString_
)
[C#]
publicvoidRemoveSoundSource(
stringsoundName
);

See Also

ISoundEngine Class | IrrKlang Namespace