Hello,<div><br></div><div>I can&#39;t test on other platform than on Linux, so some help testing this would be appreciated, but this functions is available at least under windows, and osx. The semantic is the same on all the platforms, according to the documenation. I&#39;ve included the correct header on windows, unix and osx.</div>
<div><br></div><div>--</div><div>Lta.<br><br><div class="gmail_quote">On Sun, Dec 12, 2010 at 3:52 PM, patko <span dir="ltr">&lt;<a href="mailto:colet.patrice@free.fr">colet.patrice@free.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello, is your patch working on all platforms?<br>
<br>
<br>
----- &quot;Julien &#39;Lta&#39; BALLET&quot; &lt;<a href="mailto:elthariel@gmail.com">elthariel@gmail.com</a>&gt; a écrit :<br>
<div><div></div><div class="h5"><br>
&gt; Hello,<br>
&gt;<br>
&gt;<br>
&gt; Good question indeed. This is a general improvement. Sorry for not<br>
&gt; explaining it in the first place, this is my first post and patch on<br>
&gt; the pd-dev ml.<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Lta<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Dec 10, 2010 at 5:01 PM, Hans-Christoph Steiner &lt;<br>
&gt; <a href="mailto:hans@at.or.at">hans@at.or.at</a> &gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; My first question is: what&#39;s the problem that you are trying to solve?<br>
&gt; Are there specific bugs, or just a general improvement?<br>
&gt;<br>
&gt; .hc<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Dec 10, 2010, at 8:50 AM, Julien &#39;Lta&#39; BALLET wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; As said in the title, i submit you a small patch to mrpeach&#39;s osc<br>
&gt; code, to replace calls to getbytes by alloca calls in part of the code<br>
&gt; that might get called in the soundcard callback.<br>
&gt;<br>
&gt; The considered memory sizes are quites small and then won&#39;t smash the<br>
&gt; stack. This removes the need for memory deallocation and reduces the<br>
&gt; page fault risk as well as the memory allocation time.<br>
&gt;<br>
&gt; This is kind of a naive patch, since i don&#39;t fully know yet the pd<br>
&gt; codebase.<br>
&gt;<br>
&gt; Any comment would be appreciated.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Lta.<br>
&gt; _______________________________________________<br>
&gt; Pd-dev mailing list<br>
&gt; <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------------<br>
&gt;<br>
&gt; Computer science is no more related to the computer than astronomy is<br>
&gt; related to the telescope. -Edsger Dykstra<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pd-dev mailing list<br>
&gt; <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
<br>
--<br>
</div></div>Patrice Colet<br>
</blockquote></div><br></div>