[Freeswitch-users] mod_potaudio eror on opening device

Pete Kay petedao at gmail.com
Sat Jan 30 14:56:49 MSK 2016


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> wrote:

> if you build port audio manually do the sample programs work?
>
>
> On Sunday, January 24, 2016, Pete Kay <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
> 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/20160130/09bc82a3/attachment.html 


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