<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I have made a few changes and added a module-proxy-sink module:<br><br>http://github.com/KimT/pulseaudiokt/commits/<br><br>I hope you will help me review it and that it will make it into the PulseAudio main branch.<br><br>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)<br><br>Example of how to use module-proxy-sink:<br>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"<br><br>Perhaps the module-proxy-sink should not have a "master" parameter.<br>Let me know what you think of it.<br><br>/Kim<br>                                               </body>
</html>