<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
> > Incidentally, just on this particular point....<br>> > <br>> > If you do update module-ladspa-sink and bring that patch up to date (I'm<br>> > not sure how much work was needed to make it work with current git<br>> > master?), then please submit this patch separately to the one adding the<br>> > master_port support.<br>> <br>> (sorry for multiple replies)<br>> <br>> Oh and now I look at the patch itself, when you are tidying it up, can<br>> you change the terminology a bit. I see it adds input_ and<br>> output_port_map arguments. As this patch is based of 0.9.12, this is<br>> before we added support for "ports" in PA itself.<br>> <br>> Ultimately can you change the term "port" as used here, to not conflict<br>> with our own "port" terminology? I guess something<br>> "input_ladspaport_map" or similar to differentiate it.<br>> <br>> Internal variable names should probably also be adapted for the same<br>> 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>