I'm trying to do a new .asoundrc. I want it to take any input regardless of samplerate, convert it to 44100 using the "samplerate_best" converter, and run it into a dmix.
I've come up with this:
Code:
pcm.mixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
rate 44100
}
}
pcm.force44100 {
type plug
slave.pcm "mixer"
}
pcm.downsample {
type rate
converter "samplerate_best"
slave.pcm "mixer"
}
force44100 works, while downsample doesn't. The error i get is:
Code:
pcm.c:6733:(snd_pcm_slave_conf) missing field rate
In principle, I don't see the difference between plug and rate, but obviously, i'm wrong. Can anyone enlighten me on why one is working while the other is not?