[Freeswitch-users] mod_potaudio eror on opening device

Michael Jerris mike at jerris.com
Wed Feb 3 19:18:53 MSK 2016


I know that it is available in the source code, I do not know if packages install these or not, I suspect not.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160203/70102337/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list