public bool Stop() { bool result = Bass.BASS_ChannelRemoveDSP(this._channel, this._dspHandle); this._dspHandle = 0; this.OnStopped(); return(result); }
private void ClearUp() { try { if (this.FChannel.BassHandle.HasValue && this.FDSPHandle != 0) { Bass.BASS_ChannelRemoveDSP(this.FChannel.BassHandle.Value, this.FDSPHandle); } } catch { } this.FDSPHandle = 0; }
public override bool Stop() { if (this._dspHandle != 0) { Bass.BASS_ChannelRemoveDSP(base.ChannelHandle, this._dspHandle); this._dspHandle = 0; this._dspCallback = null; } if (base.EncoderHandle != 0) { BassWma.BASS_WMA_EncodeClose(base.EncoderHandle); base.EncoderHandle = 0; this._wmEncoderProc = null; this._encoderProc = null; } this._byteSend = 0L; return(true); }
private void ReAssign(int oldChannel, int newChannel) { Bass.BASS_ChannelRemoveDSP(oldChannel, this._dspHandle); this._dspHandle = Bass.BASS_ChannelSetDSP(newChannel, this._dspProc, this._user, this._dspPriority); }