<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi, let me guess: you're on a Mac?  please provide you exact setup (laptop, OS version, Pd version, soundcard)</div>

<div> </div>

<div>does you audio interface have a stable USB connection?</div>

<div> </div>

<div>some background info:</div>

<div> </div>

<div>I made a fix for Pd's portaudio routines which prevents Pd from hanging when an audio interface gets disconnected. this is achieved by checking the device state in the audio routine and exiting the loop after some timeout. then it prints the message you've just seen.</div>

<div> </div>

<div>this seems to work fine on Windows but there have been problems on Macs (https://github.com/pure-data/pure-data/issues/470) which Dan traced back to an issue with the CoreAudio implementation of portaudio. Dan has made a patch to portaudio which appeared to fix the issue: https://github.com/pure-data/pure-data/pull/490</div>

<div> </div>

<div>but might need to have a look again...</div>

<div> </div>

<div>> Sometimes pd freezes</div>

<div> </div>

<div>this shouldn't happen :-/</div>

<div> </div>

<div>Christof</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 26. Februar 2019 um 11:10 Uhr<br/>
<b>Von:</b> "Maximiliano Estudies" <maxiestudies@gmail.com><br/>
<b>An:</b> pd-list@lists.iem.at<br/>
<b>Betreff:</b> [PD] error -9988: Invalid stream pointer</div>

<div name="quoted-content">
<div>
<div>
<div>Hello List,</div>

<div> </div>

<div>A couple of days ago I started getting this error message:</div>

<div> </div>

<div>error -9988: Invalid stream pointer<br/>
audio device not responding - closing audio<br/>
you may need to save and restart pd</div>

<div> </div>

<div>I'm not sure how to reproduce it. I tried several different patches and they all seem to randomly cause it. Sometimes pd freezes, sometimes I can turn dsp off and then on again and everything works. Google didn't help.</div>

<div>--
<div class="gmail_signature">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Maximiliano Estudies</div>
</div>
</div>

<div>+49 176 36784771</div>

<div><span><a href="http://omslo.com" target="_blank">omslo.com</a></span></div>

<div><span><a href="http://maxiestudies.com" target="_blank">maxiestudies.com</a> </span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a></div>
</div>
</div>
</div></div></body></html>