title: How to process audio data from sound card output using Bass.NET
body: <p>I want to capture and process data using Bass.NET using the BASS_ChannelGetData method.  The examples I've seen that use this play audio files through the Bass.NET library and then sample that, however I wish to sample the data my soundcard outputs, so that I can capture and process audio data from third party audio players, for example Spotify.</p>
  
  <pre><code>Bass.BASS_ChannelGetData(handle, buffer, (int)BASSData.BASS_DATA_FFT256);
  </code></pre>
  
  <p>How would I get a handle that would allow me to process this data?</p>