falkTX / Cadence

Collection of tools useful for audio production
GNU General Public License v2.0
369 stars 80 forks source link

Some features are not available in pulseaudio, started by cadence (ladspa plugins) #61

Open nick87720z opened 11 years ago

nick87720z commented 11 years ago

Last PA versions support ladspa plugins. Manual loading of them (only some predefined, of course) is supported by veromix plasma applet.

Sadly it doesn't work for pulseaudio, started by cadence. To fix this situation i can just kill pulseaudio and start it manually without options (including point to kxstudio-specific configuration). Latest veromix version, installed for me, uses new pulseaudio instance without restart (plasma-desktop killing or applet readding).

It is not clear yet, is it because necessary module is not loaded (may be some system files are skiped by kxstudio configuration), or some real devices, appart jack, must be enabled (for me loopback alsa device is available after manual restart).

About fix: Since cadence-pulse2jack modifies existing configuration in $HOME/.pulse dir, jack is loaded even on manual PA start, whithout any options. I'm sure, that source of problem are kxstudio-shipped *.pa files, which don't do all work. If they load system configuration and then adjust it (e.g., disable real alsa devices — same as pavucontrol allowes on last tab — to not have problem, when pa clients are routed not to jack), this should fix problem.

nick87720z commented 11 years ago

Oops, when i completed bug description, i forgot to remove some older text in pre-last paragraph. And "Edit" function doesn't work at least in konqueror with gecko :/

falkTX commented 11 years ago

I believe this must be caused by Cadence's own *.pa files. Custom ones are needed to make sure we don't load unneeded stuff that the default configs have.

Do you know what are the lines in PA configs that enable this?

nick87720z commented 11 years ago

Did you read last "About fix" section? I forgot to update previous text after wrote that section. The only problem, e.g., from enabled alsa loopback device, is that it's sink may be used instead of jack, and thus sound doesn't got through jack.

Honestly, i would like to have this, but when i did so, i did not have sound, though phonon doesn't have problems with that (i moved all loopback backends to the top after successful test, available for each phonon device).

I found module, called module-ladspa-sink (without "source" partner), but greping in *.pa files from /etc/pulse dir did not give nothing.