Hi,

I have made a few changes and added a module-proxy-sink module:

http://github.com/KimT/pulseaudiokt/commits/

I hope you will help me review it and that it will make it into the PulseAudio 
main branch.

The module-proxy-sink automatically loads/unloads another PulseAudio module 
when the port changes. I made it to unload a module-ladspa-sink module when the 
port changes away from "Analog Speakers" (allthough jack sensing is not yet 
supported in PulseAudio, so it is when the user manually changes this in 
pavucontrol)

Example of how to use module-proxy-sink:
load-module module-proxy-sink sink_name=test 
master=alsa.output.pci-0000_00_1b.0.analog-stereo 
pa_master_ports=analog-output-speaker module_to_load=module-ladspa-sink 
module_to_load_args="sink_name=ladspa_out 
master=alsa.output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq 
control=11.621622,10,4.594594,2.702703,0,0,-1.621622,-0.270270,-5.405406,-3.513514,-8.648648,-5.675676,-4.054054,1.351351,9.189189"

Perhaps the module-proxy-sink should not have a "master" parameter.
Let me know what you think of it.

/Kim
                                          
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to