Re: [Alsa-user] Asoundrc, multi and ladspa
Brought to you by:
perex
From: Luca <mi...@vi...> - 2005-06-09 01:23:22
|
Lee Revell wrote: > Thanks to lots of hard work by Peter Zubaj, James Courtier-Dutton, > myself, Mikael Magnusson, tiwai, perex, and others, as of the ALSA 1.0.9 > release, we can do everything the kX driver can(1). > > If you are referring to one of the crossover patches in the kX effects > library, these have nothing to do with LADSPA; those effects are written > in EMU10K1 DSP code and are loaded directly onto the soundcard. So you > don't need a LADSPA crossover, you can use the exact same plugin code. > > The ALSA equivalent of the kX manager is made up of as10k1 (emu10k1 DSP > assembler), ld10k1 (the actual patch loader backend), and qlo10k1 (the > GUI, like kX DSP), which live in alsa-utils. They are all recently > added features, so ALSA 1.0.9 or later is required, and you should not > expect it to be as polished as the kX driver. I already knew of ld10k1, but I think it's too difficult to use to me. For now, I'd like to accomplish the same thing with .asoundrc, if it's possible. I've played some more with .asoundrc and I've managed not to get any error messages anymore, but this time I get no sound. Can you look at my .asoundrc file and tell me what's wrong: pcm.ladspa_morefilters { type ladspa slave.pcm "test2"; path "/usr/lib/ladspa"; playback_plugins [ { label singlePara input { controls [-3 250 0.15] } } ] } pcm.multi { type multi; slaves.a.pcm "test1"; slaves.a.channels 2; slaves.b.pcm "rear"; slaves.b.channels 2; slaves.c.pcm "center_lfe"; slaves.c.channels 2; bindings.0.slave a; bindings.0.channel 0; bindings.1.slave a; bindings.1.channel 1; bindings.2.slave b; bindings.2.channel 0; bindings.3.slave b; bindings.3.channel 1; bindings.4.slave c; bindings.4.channel 0; bindings.5.slave c; bindings.5.channel 1; } pcm.test { type plug; slave.pcm "multi"; route_policy "duplicate"; } pcm.test1 { type plug; slave.pcm "ladspa_morefilters"; } pcm.test2 { type plug; slave.pcm "front"; } Now everything but the front speakers work, and if I replace slaves.a.pcm "test1"; with slaves.a.pcm "front"; then the front speakers work again (this means there's some incompatibility between "multi" and "ladspa"), but I *need* to apply different filters to the speakers. Thanks. PS. Of course, "test" is the pcm device I use with XMMS. |