예제 #1
0
        public bool Stop()
        {
            bool result = Bass.BASS_ChannelRemoveDSP(this._channel, this._dspHandle);

            this._dspHandle = 0;
            this.OnStopped();
            return(result);
        }
예제 #2
0
        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;
        }
예제 #3
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);
 }
예제 #4
0
 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);
 }