public override void OnStopped() { if (Bass != null) { Bass.ChannelRemoveLink(base.ChannelHandle, this._stream); Bass.StreamFree(this._stream); this._stream = 0; this.ClearBuffer(); } }