<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks. You do what I'm doing: reassigning the samples out
pointers that are stored in the class structure to a local
variable in the perform loop. This seems to work better than
accessing the stored pointers (on windoze anyway).<br>
</p>
<br>
<div class="moz-cite-prefix">On 6/8/17 12:36 PM, Pierre Guillot
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALPKkhrQSD2m78RchDz8agC94FaTQYLKcGnU2KKeWYW9nLhceQ@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div>I don't fully understand what you do in your code without
the rest of it. I think the simplest approach is to keep all
the DSP information you need in your object's structure(number
of samples, pointers to the inlets, pointers to the outlets,
etc.) and to call the dsp routine with only your object
structure as argument (and the perform method returns w+2). If
you want an example, I made a vbap~ object that has variable
number of inlets and outlets. <br>
</div>
<div>
<div>Here the code: <a
href="https://github.com/pierreguillot/vbap/blob/master/pd/src/vbap_tilde.c"
target="_blank" moz-do-not-send="true">https://github.com/<wbr>pierreguillot/vbap/blob/<wbr>master/pd/src/vbap_tilde.c</a></div>
<div>Cheers,</div>
<div><br>
</div>
<div>Pierre</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>