public PlayingSound(AudioEngine.SoundEffectInstance instance, SoundTrackChannel channel, WaitHandle waitHandle) { _instance = instance; _channel = channel; _waitHandle = waitHandle; _released = false; }
public void Dispose() { _instance.Dispose(); _instance = null; }