예제 #1
0
 public void Stop()
 {
     _threadDispatcher.Invoke(new Action(() =>
     {
         BassFx.BASS_FX_BPM_BeatCallbackReset(_recordChan);
         if (HasWasapi)
         {
             _wasapi.Stop();
             _wasapi.Dispose();
             _wasapi = null;
             BassWasapi.BASS_WASAPI_Free();
         }
         else
         {
             Bass.BASS_ChannelStop(_recordChan);
         }
         Bass.BASS_Free();
     }));
 }