a few more attempts, I have it working once again, <div>with dropped frames.<div>...</div><div><div>Stream 70] Expected 1748 data bytes, but got 948</div><div>[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...</div>

<div>[Stream 80] Expected 1908 data bytes, but got 948</div><div>[Stream 80] Expected 1908 data bytes, but got 948</div><div>[Stream 70] Expected 1748 data bytes, but got 948</div><div>[Stream 80] Expected 1908 data bytes, but got 948</div>

<div>[Stream 70] Expected 1748 data bytes, but got 948</div><div>[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...</div><div>[Stream 80] Expected 1908 data bytes, but got 948</div><div>[Stream 80] Expected 1908 data bytes, but got 948</div>

<div>[Stream 70] Expected 1748 data bytes, but got 948</div><div>[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...</div><div>[Stream 80] Expected 1908 data bytes, but got 948</div><div>[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...</div>

<div>[Stream 80] Expected 1908 data bytes, but got 948</div><div>[Stream 70] Expected 1748 data bytes, but got 948</div><div>[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...</div><div>[Stream 80] Expected 1908 data bytes, but got 948</div>

<div>[Stream 80] Expected 1908 </div><div>...</div><div>gr,</div><div>Tim</div><br><div class="gmail_quote">2011/11/14 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com">timvets@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi all,<div>I tested with fux_kinect and a kinect connected now. Some results:</div><div>on the first test, fux_kinect-help.pd opens and the depth image appears, though with some glitches/flickering (scrambled frames now and then)</div>


<div>The tilting also works.</div><div>Upon closing the patch, pd crashes. </div><div>On a second attempt (after this crash), the help patch freezes instantly. </div><div>Only the first frame of the depth image appears, and then pd hangs.</div>


<div>Attached is the output of &quot;valgrind --leak-check=full pdextended&quot; and opening fux_kinect-help.pd.</div><div>Let me know if there&#39;s any more useful info I can produce.</div><div>gr,</div><div>Tim</div><div>

<div></div><div class="h5"><div>
<br><br><div class="gmail_quote">2011/11/12 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com" target="_blank">timvets@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


in case anyone wants to try<div><div></div><div><br><br><div class="gmail_quote">2011/11/12 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com" target="_blank">timvets@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<br><br><div class="gmail_quote"><div>2011/11/12 Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca" target="_blank">matju@artengine.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Le 2011-11-12 à 18:56:00, tim vets a écrit :<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
it&#39;s stretching my knowledge quite far now, <br>
but gave it a shot anyway, and interpreted what you wrote as:<br>
find the line &quot; gl_frame_cond = (pthread_cond_t) malloc(sizeof(pthread_mutex_t)<u></u>);&quot;<br>
(in fux_kinect.cpp)<br>
and remove the &quot;*&quot; from that line.<br>
</blockquote>
<br></div>
Ok, never mind removing &quot;*&quot;, put it back and just replace the struct name so that it matches :<br>
<br>
  gl_frame_cond = (pthread_cond_t *) malloc(sizeof(pthread_cond_t))<u></u>;<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
or am I getting it wrong?<br>
</blockquote>
<br></div>
Yes... and it&#39;s more changes than what I had listed... so nevermind that one. But surely the author would know what I mean.<br>
<br>
In the meantime, let&#39;s stick to the shortest possible fix.<div><div></div><div><br></div></div></blockquote></div><div>bingo</div><div>thanks :)</div><div>can&#39;t test with the Kinect connected yet though...</div>
<div>but at least pd does not hang anymore but instead just reports:</div><div><div><div>[fux_kinect]: kinect initiated</div><div>[fux_kinect]: Number of devices found: 0</div><div>[fux_kinect]: Could not open device</div>



</div>
</div><div>gr,</div><div>Tim</div><div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<br>
 ______________________________<u></u>______________________________<u></u>__________<br>
| Mathieu BOUCHARD ----- téléphone : <a href="tel:%2B1.514.383.3801" value="+15143833801" target="_blank">+1.514.383.3801</a> ----- Montréal, QC</div></div></blockquote></div></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>