playsine test failed on arm-linux platform.

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

 



Hi, all: 
I've a problem when I tried playsine to test my audio output.
I found these errors:

[root at FriendlyARM /]# ./tool_audio/playsine-arm-unknown-linux-gnu 1       
 19:49:01.561 os_core_unix.c  pjlib 1.0 for POSIX initialized
s3c2410-uda1341-superlp: audio_set_dsp_speed:44100 prescaler:66
s3c2410-uda1341-superlp: audio_set_dsp_speed:44100 prescaler:66
s3c2410-uda1341-superlp: audio_set_dsp_speed:44100 prescaler:66
 19:49:01.583      pasound.c  PortAudio sound library initialized, status=0
 19:49:01.583      pasound.c  PortAudio host api count=1
 19:49:01.583      pasound.c  Sound device count=1
 19:49:01.584          pjlib  select() I/O Queue created (0x5fecc)
s3c2410-uda1341-superlp: audio_set_dsp_speed:44100 prescaler:66
s3c2410-uda1341-superlp: audio_set_dsp_speed:11025 prescaler:363
 19:49:01.624      pasound.c  PA message: Expression 'component->buffer = PaUtil_AllocateMemory( PaOssStreamComponent_BufferSize( component ) )' failed in 'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 1065
 19:49:01.624      pasound.c  PA message: Expression 'PaOssStreamComponent_Configure( component, sampleRate, framesPerBuffer, StreamMode_Out, master )' failed in 'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 1130
 19:49:01.625      pasound.c  PA message: Expression 'PaOssStream_Configure( stream, sampleRate, framesPerBuffer, &inLatency, &outLatency )' failed in 'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 1236
Unable to open sound device: Insufficient memory [code=269991]

Any idea about  this problem, I used free to check my memory, it's like 50MB free in the ram, don't know what happens here
BTW, I also tested my OSS audio driver by "cat /dev/dsp > a.raw" and "cat a.raw > /dev/dsp", it looks fine.
Any comments are welcom :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081101/1f0cd05f/attachment.html>


[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