Re: [pulseaudio-discuss] decrease latency

2014-05-29 Thread Patrick Shirkey
On Wed, May 28, 2014 11:47 pm, Haarman wrote: Is there a way to reset the latency or have pulseaudio play faster so it decreases latency while playing? The latencies gets so high that there arises an delay of many seconds. I don't see extremely poor latency performance on my machines when it

Re: [pulseaudio-discuss] [RFCv0 06/21] bluetooth: Create Handsfree Audio Agent oFono backend

2014-05-29 Thread Tanu Kaskinen
On Tue, 2014-02-04 at 19:03 -0300, jprv...@gmail.com wrote: +void hf_audio_agent_done(hf_audio_agent_data *data) { +hf_audio_agent_data *hfdata = data; What's the point of this extra variable? Why not use data directly? + +pa_assert(hfdata); + +if (hfdata-connection) { +

Re: [pulseaudio-discuss] [RFCv0 07/21] bluetooth: Monitor D-Bus signals

2014-05-29 Thread Tanu Kaskinen
On Tue, 2014-02-04 at 19:03 -0300, jprv...@gmail.com wrote: @@ -135,7 +166,24 @@ void hf_audio_agent_done(hf_audio_agent_data *data) { pa_assert(hfdata); +if (hfdata-hf_audio_cards) { +pa_hashmap_free(hfdata-hf_audio_cards); +hfdata-hf_audio_cards = NULL; +

Re: [pulseaudio-discuss] [RFCv0 08/21] bluetooth: Create pa_bluetooth_dbus_send_and_add_to_pending() for oFono backend

2014-05-29 Thread Tanu Kaskinen
On Tue, 2014-02-04 at 19:03 -0300, jprv...@gmail.com wrote: +static pa_dbus_pending* pa_bluetooth_dbus_send_and_add_to_pending(hf_audio_agent_data *hfdata, DBusMessage *m, + DBusPendingCallNotifyFunction func, void

Re: [pulseaudio-discuss] [RFCv0 09/21] bluetooth: Register/Unregister Handsfree Audio Agent with oFono

2014-05-29 Thread Tanu Kaskinen
On Tue, 2014-02-04 at 19:03 -0300, jprv...@gmail.com wrote: +static void hf_audio_agent_register(hf_audio_agent_data *hfdata) { +DBusMessage *m; +unsigned char codecs[2]; +const unsigned char *pcodecs = codecs; s/unsigned char/uint8_t/ static DBusMessage

Re: [pulseaudio-discuss] [RFCv0 10/21] bluetooth: List HandsfreeAudioCard objects from oFono

2014-05-29 Thread Tanu Kaskinen
On Tue, 2014-02-04 at 19:03 -0300, jprv...@gmail.com wrote: +static void hf_audio_agent_get_cards_reply(DBusPendingCall *pending, void *userdata) { +DBusMessage *r; +pa_dbus_pending *p; +hf_audio_agent_data *hfdata; +DBusMessageIter i, array_i, struct_i, props_i; +char

Re: [pulseaudio-discuss] [PATCH 08/11] client: Allow client to receive the srchannel memblock

2014-05-29 Thread Tanu Kaskinen
On Tue, 2014-05-27 at 14:27 +0200, David Henningsson wrote: On 2014-05-06 13:59, Tanu Kaskinen wrote: On Tue, 2014-04-29 at 17:29 +0200, David Henningsson wrote: On 2014-04-29 15:22, David Henningsson wrote: We assume it's an srchannel memblock if it is writable and does not come from

Re: [pulseaudio-discuss] Need help to enable echo cancel in pulseaudio

2014-05-29 Thread Puyol
The adrian canceller doesn't work well if at all. Use the webrtc or speex canceller. If it doesn't work, please post the output of pactl list while your streams are running. Cheers, Arun Thanks Arun, when i use webrtc it prints could not load modul, and for speex I'am also hearing echo!!

Re: [pulseaudio-discuss] [PATCH] add xrdp sink

2014-05-29 Thread Jay Sorg
So we're still left to make a decision. 1 - xrdp sink and source as they are except make Alexander's changes(everything works). 2 - esound sink and source as Alexander suggests(source not complete). 3 - RTP over unix domain socket(module-rtp-send not complete as Laurentiu Nicola says). I'm ok

[pulseaudio-discuss] [V2 PATCH] rescue-streams: try to find best one using availability and priority

2014-05-29 Thread Hui Wang
Recently met a problem: when I disconnect the bluetooth headset, the pulseaudio automatically switch the sound to sink of HDMI output instead of the sink of internal speaker even though there is no HDMI cable connected. To fix this problem, I want to change the rule of selecting the target

Re: [pulseaudio-discuss] [V2 PATCH] rescue-streams: try to find best one using availability and priority

2014-05-29 Thread David Henningsson
Hi Hui, Please see comments below: On 2014-05-30 05:26, Hui Wang wrote: Recently met a problem: when I disconnect the bluetooth headset, the pulseaudio automatically switch the sound to sink of HDMI output instead of the sink of internal speaker even though there is no HDMI cable connected.

Re: [pulseaudio-discuss] Need help to enable echo cancel in pulseaudio

2014-05-29 Thread Arun Raghavan
On 30 May 2014 00:14, Puyol paul9...@hotmail.fr wrote: The adrian canceller doesn't work well if at all. Use the webrtc or speex canceller. If it doesn't work, please post the output of pactl list while your streams are running. Cheers, Arun Thanks Arun, when i use webrtc it prints could