<div dir="ltr">I could not get PortAudio to work on ARM at all and Jack has issues with duplex low latency.  <div><br></div><div>What&#39;s the deal with the ALSA mmap code?  Doesn&#39;t that use callbacks?</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 13, 2014 at 2:55 PM, Miller Puckette <span dir="ltr">&lt;<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You might have already tried this, but it might work better to use<br>
portaudio to get to ALSA - it can connect with ALSA using callbacks<br>
which the built-in ASA code doesn&#39;t.  I don&#39;t know what difference this<br>
will make but perhaps it will help.<br>
<br>
(try compiling with and without FAKEBLOCKING and THREADSIGNAL defined in<br>
s_audio_pa.c).<br>
<br>
cheers<br>
<span class="HOEnZb"><font color="#888888">Miller<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sat, Apr 12, 2014 at 07:26:56PM -0700, Jonathan Wilkes wrote:<br>
&gt; There isn&#39;t a way to poll the DSP state in Pd Vanilla.<br>
&gt;<br>
&gt; -Jonathan<br>
&gt;<br>
&gt; On Saturday, April 12, 2014 8:47 PM, Chris Clepper &lt;<a href="mailto:cgclepper@gmail.com">cgclepper@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; [pdinfo] is not part of vanilla.  I can&#39;t (nor want to) use extended for this project.<br>
&gt;<br>
&gt; On Saturday, April 12, 2014, Jonathan Wilkes &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On 04/12/2014 04:27 PM, Chris Clepper wrote:<br>
&gt; &gt;<br>
&gt; &gt;Hi list<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;I&#39;m wondering if there are any recommended ways to ensure DSP keeps running for long periods like permanent installations.  I get &#39;audio I/O stuck&#39; popping up every few days, which is not bad, but ideally audio should stay running indefinitely.<br>

&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;I can send a [metro 1000] to [;pd DSP 1( to keep audio going, but is there any long term issue with doing that?  Will it reliably restart audio after Pd closes it?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;Also, the internal message [;pd audiostate( only returns data to the console.  Perhaps there is a way to poll Pd for the internal DSP state and restart it if it dies?<br>
&gt; &gt;In Pd-l2ork:<br>
&gt; &gt;[dsp-status(<br>
&gt; &gt;|<br>
&gt; &gt;[pdinfo]<br>
&gt; &gt;<br>
&gt; &gt;-Jonathan<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;Thanks!<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;_______________________________________________ <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt; &gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</div></div></blockquote></div><br></div>