Audio issues (possibly portaudio)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings.

I'm having sound problems using PJSUA (tried SVN, 2.1 and 2.0).
When connecting a call to my sound device I sometimes get:

Expression 'ret' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1026
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir,
&self->pcm )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1183
Expression 'PaAlsaStreamComponent_Initialize( &self->playback, alsaApi,
outParams, StreamDirection_Out, NULL != callback )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1414
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi,
inputParameters, outputParameters, sampleRate, framesPerBuffer,
callback, streamFlags, userData )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1991
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture,
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870
Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c',line: 1994


The latter part about SetApproximateSampleRate is always present and can
be remedied by fiddling with media_cfg().

However, when AlsaOpen fails, no sound flows, and the library
terminates. What could be the reason for this, and what measures do I
need to fix it? (Or whom do I contact)?

Best
-- 
Kim Rostgaard Christensen | krc at retrospekt.dk | http://retrospekt.dk



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux