<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Hi Dan,<br><br>Thanks for quick response.&nbsp;Even with these compiler flags, we get the same result. On the same page there is this:<br><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">"RtAudio Hang on Exit in 0062<br>"RtAudio will hang on app exit in OF 0062. The only way to fix this is to make a small edit to the OF 0062 core by "editing&nbsp;lib/openFrameworks/sound/ofSoundStream.cpp&nbsp;and commenting line 143 so close() is not called."</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><br>I'm not entirely sure which version we're using, but the ofSoundStream.cpp file is only 140 lines long.<br>If we upgrade to the latest
 ofxPd, will it still work with OF 6.2?<br>Cheers,<br>Ed<br><br>Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad<br><a target="_blank" href="http://www.ninjajamm.com/">http://www.ninjajamm.com/</a><br><br><br>Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!<br><a target="_blank" href="http://sharktracks.co.uk/">http://sharktracks.co.uk/</a><br><br><br>&gt;________________________________<br>&gt; From: Dan Wilcox &lt;danomatika@gmail.com&gt;<br>&gt;To: Ed Kelly &lt;morph_2016@yahoo.co.uk&gt; <br>&gt;Cc: Peter Brinkmann &lt;peter.brinkmann@googlemail.com&gt;; PD List &lt;pd-list@iem.at&gt;; Andrew Wallen &lt;andy.wallen@seeper.com&gt; <br>&gt;Sent: Thursday, 11 July 2013, 16:52<br>&gt;Subject: Re: libPd hanging audio<br>&gt; <br>&gt;<br>&gt;<br>&gt;Howdy guys,<br>&gt;<br>&gt;See&nbsp;<a target="_blank"
 href="https://github.com/danomatika/ofxPd#for-xcode-1">https://github.com/danomatika/ofxPd#for-xcode-1</a><br>&gt;<br>&gt;<br>&gt;From my notes, I have:&nbsp;-DHAVE_UNISTD_H -DUSEAPI_DUMMY -DPD -dynamiclib -ldl -lm<br>&gt;<br>&gt;<br>&gt;I also added this to the libpd Github wiki:&nbsp;<a target="_blank" href="https://github.com/libpd/libpd/wiki/libpd#build-settings">https://github.com/libpd/libpd/wiki/libpd#build-settings</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;On Jul 11, 2013, at 11:45 AM, Ed Kelly &lt;morph_2016@yahoo.co.uk&gt; wrote:<br>&gt;<br>&gt;Hi Dan, Peter,<br>&gt;&gt;<br>&gt;&gt;I'm here with our ofxPd-based iPhone app, and we are getting a repeat of a particular problem listed here:<br>&gt;&gt;<a target="_blank" href="http://createdigitalnoise.com/discussion/150/pdbase-closepatch/p1">http://createdigitalnoise.com/discussion/150/pdbase-closepatch/p1</a><br>&gt;&gt;<br>&gt;&gt;Namely:<br>&gt;&gt;<br>&gt;&gt;&gt; when closing a patch I would receive
 this message:&nbsp;sys_close_audio: unknown API 9<br>&gt;&gt;<br>&gt;&gt;and then we get a buzz, like a block of audio is being looped. We can't closePatch from the app code, nor can we turn DSP off from the app code.<br>&gt;&gt;<br>&gt;&gt;In the forum post mentioned above, Peter Brinkmann said this was due to incorrect compiler flags. Can you tell us what the compiler flags were and what they were changed to?<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;Caveat - we are still using openFrameworks 6.2.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;Cheers,<br>&gt;&gt;Ed Kelly<br>&gt;&gt;<br>&gt;&gt;Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad<br>&gt;&gt;<a target="_blank" href="http://www.ninjajamm.com/">http://www.ninjajamm.com/</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;Gemnotes-0.2: Live music notation for<br> Pure Data, now with dynamics!<br>&gt;&gt;<a target="_blank"
 href="http://sharktracks.co.uk/">http://sharktracks.co.uk/</a><br>&gt;<br>&gt;--------<br>&gt;Dan Wilcox<br>&gt;@danomatika<br>&gt;danomatika.com<br>&gt;robotcowboy.com<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;</div>&nbsp;&nbsp;&nbsp;&nbsp;</div></body></html>