Re: [pulseaudio-discuss] problem with webrtc and pulseaudio

2017-02-14 Thread Fatima Castiglione Maldonado 发
Thanks for your kind suggestion. It did not work. In any case, we are not having echo. Sound gets "cracking", like in a bad analogic radio transmission. 2017-02-14 18:58 GMT-03:00 Alexander E. Patrakov : > 2017-02-14 23:13 GMT+05:00 Fatima Castiglione Maldonado 发 > : > > it did not work > > ma

Re: [pulseaudio-discuss] problem with webrtc and pulseaudio

2017-02-14 Thread Alexander E. Patrakov
2017-02-14 23:13 GMT+05:00 Fatima Castiglione Maldonado 发 : > it did not work > maybe module is not installed? It is too old to accept arguments that I specified. Try without them: pacmd load-module module-echo-cancel -- Alexander E. Patrakov ___ puls

Re: [pulseaudio-discuss] problem with webrtc and pulseaudio

2017-02-14 Thread Fatima Castiglione Maldonado 发
it did not work maybe module is not installed? pacmd load-module module-echo-cancel channels=2 rate=48000 use_master_format=true Welcome to PulseAudio! Use "help" for usage information. >>> Module load failed. 2017-02-14 14:49 GMT-03:00 Fatima Castiglione Maldonado 发 < castiglionemaldon...@gmail

Re: [pulseaudio-discuss] problem with webrtc and pulseaudio

2017-02-14 Thread Fatima Castiglione Maldonado 发
Thanks for the suggestion, will try it and let you know what happens. My client won't accept it, but it sounds good for diagnosis. 2017-02-14 14:33 GMT-03:00 Alexander E. Patrakov : > 2017-02-14 19:21 GMT+05:00 Fatima Castiglione Maldonado 发 > : > >> What does "broken" mean more specifically? Thi

Re: [pulseaudio-discuss] problem with webrtc and pulseaudio

2017-02-14 Thread Alexander E. Patrakov
2017-02-14 19:21 GMT+05:00 Fatima Castiglione Maldonado 发 : >> What does "broken" mean more specifically? Things appear to work, but >> the microphone produces just silence? >> > The mic produces a very distorted sound, like "cracking" sound As a temporary workaround, you can run "pacmd load-modul

[pulseaudio-discuss] [PATCH 10/22 v2] source/sink: Allow pa_{source, sink}_get_latency_within_thread() to return negative values

2017-02-14 Thread Georg Chini
The reported latency of source or sink is based on measured initial conditions. If the conditions contain an error, the estimated latency values may become negative. This does not indicate that the latency is indeed negative but can be considered merely an offset error. The current get_latency_in_

[pulseaudio-discuss] [PATCH 1/4] bluez5-device: Use correct constants for fixed latency in PA_SINK_MESSAGE_GET_LATENCY

2017-02-14 Thread Georg Chini
The PA_SINK_GET_LATENCY message handler falsely always added the A2DP latency as fixed latency instead of the profile specific constant. --- src/modules/bluetooth/module-bluez5-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bluetooth/module-bluez5-device

[pulseaudio-discuss] [PATCH 4/4] backend-native: send DBus signal on headset button press

2017-02-14 Thread Georg Chini
Currently pressing the headset button is ignored. This patch sends a DBUS signal that can be caught by applications to trigger events like picking up or ending a phone call. --- src/modules/bluetooth/backend-native.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sr

[pulseaudio-discuss] [PATCH 2/4] backend-native: add support for the HSP Headset profile

2017-02-14 Thread Georg Chini
From: Wim Taymans This is a rebase of Wim Taymans patch to support the HSP headset role that has somehow been forgotten. Original patch can be found at https://lists.freedesktop.org/archives/pulseaudio-discuss/2015-February/023242.html Original commit message: In addition to the HSP Audio Gatewa

[pulseaudio-discuss] [PATCH 3/4] bluetooth: use native and ofono backends in parallel with headset=auto

2017-02-14 Thread Georg Chini
This patch changes the behavior of the headset=auto switch for module-bluez5-discover. With headset=auto now both backends will be active at the same time for the HF role and the switching between the backends is only done for the AG role. headset=ofono and headset=native remain unchanged. ---

Re: [pulseaudio-discuss] Access control

2017-02-14 Thread Wim Taymans
On 13 February 2017 at 13:58, Tanu Kaskinen wrote: > On Fri, 2017-01-27 at 17:15 +0100, Wim Taymans wrote: >> Hi All, >> >> I think (1) is quite ugly and requires you to modify many functions >> with a new parameter that >> is not at all related to what the function does. > > I disagree with the c

Re: [pulseaudio-discuss] [PATCH] backend-native: rebase of patch to support HSP HeadeSet profile

2017-02-14 Thread Georg Chini
On 14.02.2017 12:28, Tanu Kaskinen wrote: On Tue, 2017-02-14 at 12:24 +0100, Georg Chini wrote: On 14.02.2017 12:08, Tanu Kaskinen wrote: On Sat, 2017-02-04 at 20:47 +0100, Georg Chini wrote: Subject: [PATCH] backend-native: rebase of patch to support HSP HeadeSet profile Usually it's not int

Re: [pulseaudio-discuss] [PATCH] backend-native: rebase of patch to support HSP HeadeSet profile

2017-02-14 Thread Tanu Kaskinen
On Tue, 2017-02-14 at 12:24 +0100, Georg Chini wrote: > On 14.02.2017 12:08, Tanu Kaskinen wrote: > > On Sat, 2017-02-04 at 20:47 +0100, Georg Chini wrote: > > > Subject: [PATCH] backend-native: rebase of patch to support HSP HeadeSet > > > profile > > > > Usually it's not interesting that a patc

Re: [pulseaudio-discuss] problem with webrtc and pulseaudio

2017-02-14 Thread Tanu Kaskinen
On Mon, 2017-02-13 at 13:50 -0300, Fatima Castiglione Maldonado 发 wrote: > Hi, > > am new to this list, my name is Fatima. Welcome to the list! > We are using a webapp called BigBlueButton.org for conferencing. > It work OK while using it under Firefox on Ubuntu 14.04. > When we use it under Chr

Re: [pulseaudio-discuss] [PATCH] backend-native: rebase of patch to support HSP HeadeSet profile

2017-02-14 Thread Georg Chini
On 14.02.2017 12:08, Tanu Kaskinen wrote: On Sat, 2017-02-04 at 20:47 +0100, Georg Chini wrote: Subject: [PATCH] backend-native: rebase of patch to support HSP HeadeSet profile Usually it's not interesting that a patch was rebased. In this case it's good to mention it in the commit message, sin

Re: [pulseaudio-discuss] [PATCH] backend-native: rebase of patch to support HSP HeadeSet profile

2017-02-14 Thread Tanu Kaskinen
On Sat, 2017-02-04 at 20:47 +0100, Georg Chini wrote: > Subject: [PATCH] backend-native: rebase of patch to support HSP HeadeSet > profile Usually it's not interesting that a patch was rebased. In this case it's good to mention it in the commit message, since the one who did the rebasing is diffe

Re: [pulseaudio-discuss] [PATCH] bluetooth: Correct fixed latency for HSP sink

2017-02-14 Thread Tanu Kaskinen
On Tue, 2017-02-14 at 10:51 +0100, Georg Chini wrote: > On 14.02.2017 10:25, Tanu Kaskinen wrote: > > On Sat, 2017-02-04 at 19:34 +0100, Georg Chini wrote: > > > The fixed latency for the HSP sink was set to 125 ms plus one write block > > > size. > > > pa_sink_get_latency() however returns 28 ms

Re: [pulseaudio-discuss] [PATCH v2] bluetooth: Make use of getsockopt() to determine MTU configurable

2017-02-14 Thread Georg Chini
On 14.02.2017 10:42, Tanu Kaskinen wrote: On Sat, 2017-02-04 at 20:32 +0100, Georg Chini wrote: A recent patch changed the MTU size from the default value of 48 to the value returned by getsockopt(). This breaks HSP for some setups. To circumvent the problem, this patch introduces a boolean para

Re: [pulseaudio-discuss] [PATCH] bluetooth: Correct fixed latency for HSP sink

2017-02-14 Thread Georg Chini
On 14.02.2017 10:25, Tanu Kaskinen wrote: On Sat, 2017-02-04 at 19:34 +0100, Georg Chini wrote: The fixed latency for the HSP sink was set to 125 ms plus one write block size. pa_sink_get_latency() however returns 28 ms like it does for A2DP and also for the HSP source. Therefore this patch corr

Re: [pulseaudio-discuss] [PATCH v2] bluetooth: Make use of getsockopt() to determine MTU configurable

2017-02-14 Thread Tanu Kaskinen
On Sat, 2017-02-04 at 20:32 +0100, Georg Chini wrote: > A recent patch changed the MTU size from the default value of 48 to the value > returned by getsockopt(). This breaks HSP for some setups. To circumvent the > problem, this patch introduces a boolean parameter "autodetect_mtu" for > module-blu

Re: [pulseaudio-discuss] [PATCH] bluetooth: Correct fixed latency for HSP sink

2017-02-14 Thread Tanu Kaskinen
On Sat, 2017-02-04 at 19:34 +0100, Georg Chini wrote: > The fixed latency for the HSP sink was set to 125 ms plus one write block > size. > pa_sink_get_latency() however returns 28 ms like it does for A2DP and also for > the HSP source. > Therefore this patch corrects the fixed latency of the HSP

[pulseaudio-discuss] [PATCH v3] systemd: disable socket activation for root

2017-02-14 Thread Tanu Kaskinen
We disallow autospawning for root, but when using systemd socket activation to start pulseaudio, that replaces the autospawning mechanism, and there was no similar "root protection" in socket activation. This patch disables the socket activation for root. --- src/daemon/systemd/user/pulseaudio.soc