/// <summary> /// Platform specifc implementation of <see cref="Destroy"/>. /// </summary> internal void DestroyAudioEngine() { if (AudioDevice.Ptr != IntPtr.Zero) { AudioLayer.ListenerDestroy(DefaultListener.Listener); AudioLayer.Destroy(AudioDevice); } }