<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
&gt; &gt; Incidentally, just on this particular point....<br>&gt; &gt; <br>&gt; &gt; If you do update module-ladspa-sink and bring that patch up to date (I'm<br>&gt; &gt; not sure how much work was needed to make it work with current git<br>&gt; &gt; master?), then please submit this patch separately to the one adding the<br>&gt; &gt; master_port support.<br>&gt; <br>&gt; (sorry for multiple replies)<br>&gt; <br>&gt; Oh and now I look at the patch itself, when you are tidying it up, can<br>&gt; you change the terminology a bit. I see it adds input_ and<br>&gt; output_port_map arguments. As this patch is based of 0.9.12, this is<br>&gt; before we added support for "ports" in PA itself.<br>&gt; <br>&gt; Ultimately can you change the term "port" as used here, to not conflict<br>&gt; with our own "port" terminology? I guess something<br>&gt; "input_ladspaport_map" or similar to differentiate it.<br>&gt; <br>&gt; Internal variable names should probably also be adapted for the same<br>&gt; reasons of clarity.<br><br>Thank you very much for your help Colin. It means a lot to me. <br><br>I have changed the variable names and added a pa_master_ports argument. Right now the code is located here:<br>http://therkelsen.info/temp/module-ladspa-sink.c<br><br>I will split the code up as you suggest so that I do not commit two changes at a time. Now I have to figure out how I submit the code and how it is reviewed etc..<br><br>Most important to me is to figure out <font style="font-size: 10pt;" face="Tahoma" size="2"><span style="font-size: 10pt;">how you make the module unload/load automatically as the headphone jack
is plugged/unplugged. <br>Right now the module just fails to load if the master port is not the one for the headphones. <br>Is there some auto-load functionality that I can use?<br>Or some way of controlling </span></font>the audio routing to accomplish this task?<br>Perhaps I should monitor the active master port from within the module-ladspa-sink and turn the processing off when the active master port is not correct instead of failing when loading?<br><br>I will also try IRC.<br><br>/Kim<br><br><br><br>                                               </body>
</html>