Inheritance: IDisposable
		/// <summary>
		/// 
		/// </summary>
		/// <param name="effect"></param>
		/// <param name="voice"></param>
        internal SoundEffectInstance( AudioDevice device, SoundEffect effect, SourceVoice voice )
        {
			this.device = device;

            _effect = effect;
            _voice = voice;
        }
		/// <summary>
		/// 
		/// </summary>
        public void Dispose()
        {
            if (_voice != null) {
                _voice.DestroyVoice();
                _voice.Dispose();
                _voice = null;
            }
		    _effect = null;
			isDisposed = true;
		}