linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] linphone-3.1.0: ortp-error-*** alsa_can_read f


From: Simon Morlat
Subject: Re: [Linphone-developers] linphone-3.1.0: ortp-error-*** alsa_can_read fixup, trying to recover
Date: Thu, 2 Jul 2009 10:13:48 +0200
User-agent: KMail/1.11.4 (Linux/2.6.29-2-amd64; KDE/4.2.4; x86_64; ; )

Ok, big problems with the alsa driver.
You can relax the stress on the driver by requesting larger buffer:
see the comments at the head of mediastreamer2/src/alsa.c:

/*in case of troubles with a particular driver, try incrementing 
ALSA_PERIOD_SIZE
to 512, 1024, 2048, 4096...
then try incrementing the number of periods*/
#define ALSA_PERIODS 8
#define ALSA_PERIOD_SIZE 256

/*uncomment the following line if you have problems with an alsa driver
having sound quality trouble:*/
/*#define EPIPE_BUGFIX 1*/

First try setting ALSA_PERIOD_SIZE to 512 then 1024, then 2048, try 
incrementing ALSA_PERIODS, then uncomment the #define EPIPE_BUGFIX .

Incrementing periods and periodsize also increments the latency of the system, 
ie the delay for voice to be captured and playback.

Simon



Le jeudi 2 juillet 2009 09:46:36, Harishkumar V a écrit :
> hi,
>
> I am running linphone-3.1.0 on my ARM platform. i am facing this problem's,
> when i execute linphonec.
>
> #linphonec
>
> Ready
> Warning: video is disabled in linphonec, use -V or -C or -D to enable.
> linphonec> <sip:address@hidden <address@hidden>> is contacting you.
> linphonec> answer
> Connected.
> linphonec> linphonec> ortp-error-snd_pcm_avail_update: Broken pipe
> ortp-error-*** alsa_can_read fixup, trying to recover
> ALSA lib pcm.c:7232:(snd_pcm_recover) overrun occured
> ortp-error-snd_pcm_avail_update: Broken pipe
> ortp-error-*** alsa_can_read fixup, trying to recover
> ALSA lib pcm.c:7232:(snd_pcm_recover) overrun occured
> ortp-error-snd_pcm_avail_update: Broken pipe
> ortp-error-*** alsa_can_read fixup, trying to recover
> ALSA lib pcm.c:7232:(snd_pcm_recover) overrun occured
> ortp-error-snd_pcm_avail_update: Broken pipe
> ortp-error-*** alsa_can_read fixup, trying to recover
> ALSA lib pcm.c:7232:(snd_pcm_recover) overrun occured
> ortp-error-snd_pcm_avail_update: Broken pipe
> ortp-error-*** alsa_can_read fixup, trying to recover
> ALSA lib pcm.c:7232:(snd_pcm_recover) overrun occured
> ortp-error-snd_pcm_avail_update: Broken pipe
>
> Any pointers to solve this would be helpful.
>
> Thanks and Regards,
> HarishKumar.V





reply via email to

[Prev in Thread] Current Thread [Next in Thread]