You could try the 007 tag: https://github.com/danomatika/ofxPd/releases, everything after that will not work without some src modifications. (It may not be that much).

Personally, I would consider updating your version of OF. You'd need to remake the xcode project, but the sound stuff is in a much better shape.

On Jul 11, 2013, at 12:11 PM, Ed Kelly <morph_2016@yahoo.co.uk> wrote:

Hi Dan,

Thanks for quick response. Even with these compiler flags, we get the same result. On the same page there is this:

"RtAudio Hang on Exit in 0062
"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 lib/openFrameworks/sound/ofSoundStream.cpp and commenting line 143 so close() is not called."

I'm not entirely sure which version we're using, but the ofSoundStream.cpp file is only 140 lines long.
If we upgrade to the latest ofxPd, will it still work with OF 6.2?
Cheers,
Ed

Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad
http://www.ninjajamm.com/


Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
http://sharktracks.co.uk/


>________________________________
> From: Dan Wilcox <danomatika@gmail.com>
>To: Ed Kelly <morph_2016@yahoo.co.uk>
>Cc: Peter Brinkmann <peter.brinkmann@googlemail.com>; PD List <pd-list@iem.at>; Andrew Wallen <andy.wallen@seeper.com>
>Sent: Thursday, 11 July 2013, 16:52
>Subject: Re: libPd hanging audio
>
>
>
>Howdy guys,
>
>See https://github.com/danomatika/ofxPd#for-xcode-1
>
>
>From my notes, I have: -DHAVE_UNISTD_H -DUSEAPI_DUMMY -DPD -dynamiclib -ldl -lm
>
>
>I also added this to the libpd Github wiki: https://github.com/libpd/libpd/wiki/libpd#build-settings
>
>
>
>On Jul 11, 2013, at 11:45 AM, Ed Kelly <morph_2016@yahoo.co.uk> wrote:
>
>Hi Dan, Peter,
>>
>>I'm here with our ofxPd-based iPhone app, and we are getting a repeat of a particular problem listed here:
>>http://createdigitalnoise.com/discussion/150/pdbase-closepatch/p1
>>
>>Namely:
>>
>>> when closing a patch I would receive this message: sys_close_audio: unknown API 9
>>
>>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.
>>
>>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?
>>
>>
>>Caveat - we are still using openFrameworks 6.2.
>>
>>
>>Cheers,
>>Ed Kelly
>>
>>Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad
>>http://www.ninjajamm.com/
>>
>>
>>Gemnotes-0.2: Live music notation for
Pure Data, now with dynamics!
>>http://sharktracks.co.uk/
>
>--------
>Dan Wilcox
>@danomatika
>danomatika.com
>robotcowboy.com
>
>
>
>
>
>
>
>
    

--------
Dan Wilcox
@danomatika