<div dir="ltr">Hi Michael<div><br></div><div>Thanks alot for your reply.</div><div><br></div><div>portaudio was installed as part of freeswitch.  </div><div><br></div><div>I search and could not find the test program.  May I know where I can find this test program to test?</div><div><br></div><div>P</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 25, 2016 at 4:05 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">if you build port audio manually do the sample programs work?<div class="HOEnZb"><div class="h5"><span></span><br><br>On Sunday, January 24, 2016, Pete Kay &lt;<a href="mailto:petedao@gmail.com" target="_blank">petedao@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p><span><a>Hi <br></a></span></p><p><br><span></span></p><p><span>I am not able to get      pa play to work.      could someone please kindly help me out?  I am getting the following ERROR messages: <br></span></p><p><span><a><br></a></span></p><p><span><a>freeswitch@vps57327.vps.ovh.ca</a>&gt; pa play   /tmp/running.wav</span></p>
<p><span>Expression &#39;SetApproximateSampleRate( pcm, hwParams, sr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1293</span></p>
<p><span>Expression &#39;PaAlsaStreamComponent_InitialConfigure( 
&amp;self-&gt;capture, inParams, self-&gt;primeBuffers, hwParamsCapture,
 &amp;realSr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1869</span></p>
<p><span>Expression &#39;PaAlsaStream_Configure( stream, inputParameters, 
outputParameters, sampleRate, framesPerBuffer, &amp;inputLatency, 
&amp;outputLatency, &amp;hostBufferSizeMode )&#39; failed in 
&#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1993</span></p>
<p><span><span><span>2016-01-24 07:02:32.591002</span></span> [ERR] mod_portaudio.c:2428 Error opening audio device retrying</span></p>
<p><span>Expression &#39;SetApproximateSampleRate( pcm, hwParams, sr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1293</span></p>
<p><span>Expression &#39;PaAlsaStreamComponent_InitialConfigure( 
&amp;self-&gt;capture, inParams, self-&gt;primeBuffers, hwParamsCapture,
 &amp;realSr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1869</span></p>
<p><span>Expression &#39;PaAlsaStream_Configure( stream, inputParameters, 
outputParameters, sampleRate, framesPerBuffer, &amp;inputLatency, 
&amp;outputLatency, &amp;hostBufferSizeMode )&#39; failed in 
&#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1993</span></p>
<p><span></span><br></p>
<p><span>Failed to engage audio device</span></p>
<p><span></span><br></p>
<p><span><span><span>2016-01-24 07:02:34.090957</span></span> [ERR] mod_portaudio.c:2435 Can&#39;t open audio device</span></p>
<p><span><a>freeswitch@vps57327.vps.ovh.ca</a>&gt; pa outdev #4 </span></p>
<p><span></span><br></p>
<p><span>outdev set to 4</span></p>
<p><span></span><br></p>
<p><span><a>freeswitch@vps57327.vps.ovh.ca</a>&gt; pa indev #5</span></p>
<p><span></span><br></p>
<p><span>indev set to 5</span></p>
<p><span></span><br></p>
<p><span><a>freeswitch@vps57327.vps.ovh.ca</a>&gt; pa play   /tmp/running.wav</span></p>
<p><span>Expression &#39;SetApproximateSampleRate( pcm, hwParams, sr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1293</span></p>
<p><span>Expression &#39;PaAlsaStreamComponent_InitialConfigure( 
&amp;self-&gt;playback, outParams, self-&gt;primeBuffers, 
hwParamsPlayback, &amp;realSr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1872</span></p>
<p><span>Expression &#39;PaAlsaStream_Configure( stream, inputParameters, 
outputParameters, sampleRate, framesPerBuffer, &amp;inputLatency, 
&amp;outputLatency, &amp;hostBufferSizeMode )&#39; failed in 
&#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1993</span></p>
<p><span><span><span>2016-01-24 07:02:51.991013</span></span> [ERR] mod_portaudio.c:2428 Error opening audio device retrying</span></p>
<p><span>Expression &#39;SetApproximateSampleRate( pcm, hwParams, sr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1293</span></p>
<p><span>Expression &#39;PaAlsaStreamComponent_InitialConfigure( 
&amp;self-&gt;playback, outParams, self-&gt;primeBuffers, 
hwParamsPlayback, &amp;realSr )&#39; failed in &#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1872</span></p>
<p><span>Expression &#39;PaAlsaStream_Configure( stream, inputParameters, 
outputParameters, sampleRate, framesPerBuffer, &amp;inputLatency, 
&amp;outputLatency, &amp;hostBufferSizeMode )&#39; failed in 
&#39;src/hostapi/alsa/pa_linux_alsa.c&#39;, line: 1993</span></p>
<p><span></span><br></p>
<p><span>Failed to engage audio device</span></p>
<p><span></span><br></p>
<p><span><span><span>2016-01-24 07:02:53.491018</span></span> [ERR] mod_portaudio.c:2435 Can&#39;t open audio device</span></p>
<p><span><a>freeswitch@vps57327.vps.ovh.ca</a>&gt; <br></span></p></div>
</blockquote>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>