linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] PulseAudio no sound patch


From: ValdikSS
Subject: [Linphone-developers] PulseAudio no sound patch
Date: Sat, 18 Oct 2014 20:13:47 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Hello.
Linphone never worked with PulseAudio on my laptop with ArchLinux. All I got is 
silence instead
of some sound. It seems that mediastreamer sets too low fragment length which 
is unacceptable
for my sound card. This patch increases latency_reg from 0.02 to 0.1, which 
fixes the issue
and still maintain sane latency.

Related messages:
https://bugzilla.redhat.com/show_bug.cgi?id=1142958
https://www.linux.org.ru/forum/desktop/10812927

--- src/audiofilters/pulseaudio.c       2013-03-25 14:31:33.301986722 +0400
+++ src/audiofilters/pulseaudio.c_      2014-10-18 19:59:22.454542849 +0400
@@ -23,5 +23,5 @@ Foundation, Inc., 59 Temple Place - Suit
 #include <pulse/pulseaudio.h>

-static const float latency_req=0.02;
+static const float latency_req=0.1;

 static void init_pulse_context();

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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