Debian Codegraph @

debian/asound.conf.example

raw
1 ## Adding these stanzas to your .asoundrc or /etc/asound.conf will
2 ## create an ALSA output device called 'crossfeed' which outputs
3 ## the bs2b crossfeed stream to a device of your choosing.
4
5 ## LADSPA uses a 32-bit floating-point sample format, while most
6 ## software uses 16-, 24-, or 32-bit integer formats. We input through
7 ## a plug device to handle the conversion.
8
9 pcm.crossfeed {
10 type plug
11 slave.pcm "bs2b"
12 }
13
14 ## If you use dmix or other processing filters, you should slave the
15 ## plug:bs2b device to them directly, then have bs2b play to the hardware.
16 ## This will minimize the impact of sample format conversion.
17
18 ## This device passes its input through the bs2b LADSPA plugin, then
19 ## passes it off to another PCM device. In this example, we use
20 ## plughw:0,0 to pass directly to hardware (with a plug adapter for
21 ## sample conversion).
22 pcm.bs2b {
23 type ladspa
24 slave.pcm "plughw:0,0" # Set this line to match your configuration
25 path "/usr/lib/ladspa/"
26 plugins [{
27 label bs2b
28 input {
29 # controls [ 725 4.5 ] # The defaults are 725Hz crossover frequency and 4.5dB rolloff
30 }
31 }]
32 }