public void StopSound(ISound sound) { if (sound != null) { soundEngine.StopSound(sound); } }
public static void StopVideo() { if (video != null) { soundEngine.StopSound(video); } }
public void StopVideo() { if (video != null) { soundEngine.StopSound(video); videoSource.Dispose(); videoSource = null; video = null; } }