[PD] libPd hanging audio

Ed Kelly morph_2016 at yahoo.co.uk
Thu Jul 11 18:11:34 CEST 2013


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 at gmail.com>
>To: Ed Kelly <morph_2016 at yahoo.co.uk> 
>Cc: Peter Brinkmann <peter.brinkmann at googlemail.com>; PD List <pd-list at iem.at>; Andrew Wallen <andy.wallen at 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 at 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
>
>
>
>
>
>
>
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130711/cb84da42/attachment.htm>


More information about the Pd-list mailing list