IrrKlang.NET

ISoundEngine.RemoveSoundSource Method 

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.

[Visual Basic]
Public Sub RemoveSoundSource( _
   ByVal soundName As String _
)
[C#]
public void RemoveSoundSource(
   string soundName
);

See Also

ISoundEngine Class | IrrKlang Namespace