toes-image-builder/audio/asound.conf
2026-05-13 20:23:09 +00:00

60 lines
875 B
Plaintext

defaults.pcm.rate_converter "samplerate_best"
pcm.!default {
type plug
slave {
pcm "filtered"
rate 48000
}
}
pcm.filtered {
type ladspa
slave.pcm "out"
path "/usr/lib/ladspa"
plugins [
{
label highpass_iir
input {
controls [ 100 1 ]
}
}
{
label hardLimiter
input {
controls [ 0 1 0 ]
}
}
]
}
pcm.out {
type plug
slave {
pcm "hw:CARD=toesaudio,DEV=1"
format S16_LE
}
}
pcm.toes_playback {
type plug
slave {
pcm "out"
rate 48000
}
}
pcm.toes_capture {
type plug
slave {
pcm "hw:CARD=toesaudio,DEV=0"
format S32_LE
rate 48000
channels 2
}
}
ctl.!default {
type hw
card toesaudio
}