コード例 #1
0
        public void Dispose()
        {
            _audioListener.Dispose();

            _transformParent = null;
            _cameraTrnasform = null;
            Main             = null;
        }
コード例 #2
0
        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();
        }
コード例 #3
0
 public void Dispose()
 {
     AudioListener.Stop();
     AudioListener.Dispose();
 }