public void Dispose() { _audioListener.Dispose(); _transformParent = null; _cameraTrnasform = null; Main = null; }
public void AudioListenerConstructor() { var audioListener = new AudioListener(40); //40Hz sample frequence Assert.IsNotNull(audioListener); Assert.AreEqual(40, audioListener.SampleFrequence); Assert.IsFalse(audioListener.AudioDeviceInitialized); audioListener.Dispose(); }
public void Dispose() { AudioListener.Stop(); AudioListener.Dispose(); }