Resampling gives segmentation fault (ARM9)

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

 



2011/8/18 Christian Sch?ldt <christian.schuldt at limesaudio.com>:
> Thanks for clarifying.
>
> Adding the PJMEDIA_RESAMPLE_USE_SMALL_FILTER option in resampleplay.c still
> gives me segmentation fault, but using PJMEDIA_RESAMPLE_USE_LINEAR instead,
> or PJMEDIA_RESAMPLE_USE_LINEAR|PJMEDIA_RESAMPLE_USE_SMALL_FILTER, seem to
> work. However, the playback is very stuttery and the CPU load is >95%
> (running on an ARM9 at 300Mhz (upsampling 8kHz to 44.1kHz)). This extreme
> CPU load seem very strange to me as I cannot imagine that libresample is
> unable to run in realtime on a 300Mhz ARM9 at the "lowest quality" setting?
> Would appreciate some inputs on this.
>

I suggest you run the mips_test from pjmedia sample to know exactly
what the CPU requirement of each pjmedia components, and then fix your
CFLAGS to get the optimum result. See
https://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS for more info.

Best regards,
 Benny



[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