Patches item #3089771, was opened at 2010-10-18 06:20 Message generated for change (Comment added) made by millerpuckette You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3089771...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: bugfix
Status: Pending Resolution: Accepted
Priority: 8 Private: No Submitted By: IOhannes m zmlnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: portaudio: crash when shutting down callback mode
Initial Comment: if you select the "portaudio" audio-backend in "callback" mode and then try to shut it down, Pd will crash, because it calls CloseAudioStreams with the pa_callbackstream, which is not a PABLIO_Stream.
steps to reproduce: - select "portaudio" as the audio backend - in the audio-settings that pops-up, enable the "use callbacks" and click on "Apply" - (this will switch to portaudio/callback) - now click on "OK" (in the still open settings dialog) - Pd will segfault (Pd will close portaudio/callback and try to restart it)
the attached patch calls the StopStreaming functions explicitely for the correct stream-type.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2011-01-08 21:04
Message: applied to 0.43
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3089771...