## Adding these stanzas to your .asoundrc or /etc/asound.conf will
## create an ALSA output device called 'crossfeed' which outputs
## the bs2b crossfeed stream to a device of your choosing.

## LADSPA uses a 32-bit floating-point sample format, while most
## software uses 16-, 24-, or 32-bit integer formats. We input through
## a plug device to handle the conversion.

pcm.crossfeed {
  type plug
  slave.pcm "bs2b"
}

## If you use dmix or other processing filters, you should slave the
## plug:bs2b device to them directly, then have bs2b play to the hardware.
## This will minimize the impact of sample format conversion.

## This device passes its input through the bs2b LADSPA plugin, then
## passes it off to another PCM device. In this example, we use
## plughw:0,0 to pass directly to hardware (with a plug adapter for
## sample conversion).
pcm.bs2b {
  type ladspa
  slave.pcm "plughw:0,0" # Set this line to match your configuration
  path "/usr/lib/ladspa/"
  plugins [{
    label bs2b
    input {
#      controls [ 725 4.5 ] # The defaults are 725Hz crossover frequency and 4.5dB rolloff
    }
  }]
}
