if you build port audio manually do the sample programs work?<span></span><br><br>On Sunday, January 24, 2016, Pete Kay <<a href="mailto:petedao@gmail.com">petedao@gmail.com</a>> 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 href="javascript:_e(%7B%7D,'cvml','freeswitch@vps57327.vps.ovh.ca');" target="_blank">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 href="javascript:_e(%7B%7D,'cvml','freeswitch@vps57327.vps.ovh.ca');" target="_blank"><br></a></span></p><p><span><a href="javascript:_e(%7B%7D,'cvml','freeswitch@vps57327.vps.ovh.ca');" target="_blank">freeswitch@vps57327.vps.ovh.ca</a>> pa play /tmp/running.wav</span></p>
<p><span>Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293</span></p>
<p><span>Expression 'PaAlsaStreamComponent_InitialConfigure(
&self->capture, inParams, self->primeBuffers, hwParamsCapture,
&realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869</span></p>
<p><span>Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', 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 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293</span></p>
<p><span>Expression 'PaAlsaStreamComponent_InitialConfigure(
&self->capture, inParams, self->primeBuffers, hwParamsCapture,
&realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869</span></p>
<p><span>Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', 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't open audio device</span></p>
<p><span><a href="javascript:_e(%7B%7D,'cvml','freeswitch@vps57327.vps.ovh.ca');" target="_blank">freeswitch@vps57327.vps.ovh.ca</a>> 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 href="javascript:_e(%7B%7D,'cvml','freeswitch@vps57327.vps.ovh.ca');" target="_blank">freeswitch@vps57327.vps.ovh.ca</a>> 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 href="javascript:_e(%7B%7D,'cvml','freeswitch@vps57327.vps.ovh.ca');" target="_blank">freeswitch@vps57327.vps.ovh.ca</a>> pa play /tmp/running.wav</span></p>
<p><span>Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293</span></p>
<p><span>Expression 'PaAlsaStreamComponent_InitialConfigure(
&self->playback, outParams, self->primeBuffers,
hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872</span></p>
<p><span>Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', 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 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293</span></p>
<p><span>Expression 'PaAlsaStreamComponent_InitialConfigure(
&self->playback, outParams, self->primeBuffers,
hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872</span></p>
<p><span>Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', 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't open audio device</span></p>
<p><span><a href="javascript:_e(%7B%7D,'cvml','freeswitch@vps57327.vps.ovh.ca');" target="_blank">freeswitch@vps57327.vps.ovh.ca</a>> <br></span></p></div>
</blockquote>