Re: [pulseaudio-discuss] [PATCH v0] bluetooth: Fix unacquired transports during sink resume

2012-12-04 Thread Tanu Kaskinen
On Tue, 2012-12-04 at 08:18 +0100, Mikel Astiz wrote: Hi Tanu, On Tue, Dec 4, 2012 at 1:43 AM, Tanu Kaskinen ta...@iki.fi wrote: On Mon, 2012-12-03 at 10:57 +0100, Mikel Astiz wrote: On Sun, Dec 2, 2012 at 4:05 AM, Tanu Kaskinen ta...@iki.fi wrote: On Thu, 2012-11-29 at 14:33 +0100,

Re: [pulseaudio-discuss] gnome-shell hangs, waiting for pulse-audio

2012-12-04 Thread Tanu Kaskinen
On Tue, 2012-12-04 at 11:49 +0100, Henrik /KaarPoSoft wrote: On 12/04/12 04:32, Tanu Kaskinen wrote: On Tue, 2012-12-04 at 03:47 +0200, Tanu Kaskinen wrote: Hmm... I checked when the operation state is set to DONE, and it's not done until after calling the callback. So, if the kernel

Re: [pulseaudio-discuss] [PATCH v1 0/3] bluetooth: Headset port availability

2012-12-04 Thread David Henningsson
On 12/04/2012 05:07 AM, Tanu Kaskinen wrote: On Sun, 2012-12-02 at 22:33 +0200, Janos Kovacs wrote: Hi, On Wed, Nov 28, 2012 at 9:51 PM, Tanu Kaskinen ta...@iki.fi wrote: I've changed my mind about the last point. Ports are not really that close to the ideal routing endpoint concept. For

[pulseaudio-discuss] [PATCH 4/4] echo-cancel: Fix null implementation to setup one channel

2012-12-04 Thread Peter Meerwald
From: Stefan Huber s.hu...@bct-electronic.com memcpy() of the null implementation's run() copied data for only one channel. Set the number of channels to 1 in init() in order to guarantee this. Signed-off-by: Stefan Huber s.hu...@bct-electronic.com Acked-by: Peter Meerwald

[pulseaudio-discuss] [PATCH 1/4] echo-cancel: Fix apply_diff_time() to use correct sample spec

2012-12-04 Thread Peter Meerwald
From: Stefan Huber s.hu...@bct-electronic.com apply_diff_time() fails when dropping bytes from the playback stream and the sample spec of sink and source differ as source's sample spec is used. Fix this by using sink's sample spec. Signed-off-by: Stefan Huber s.hu...@bct-electronic.com Acked-by:

[pulseaudio-discuss] [PATCH 2/4] echo-cancel: Fix calc_diff for asymmetric sample specs

2012-12-04 Thread Peter Meerwald
From: Stefan Huber s.hu...@bct-electronic.com In case that source and sink use different sample specs (e.g., different number of channels) the computation of the latency difference fails. To fix this, we obtain the corresponding latencies in terms of time using the respective sample specs instead

[pulseaudio-discuss] [PATCH 3/4] echo-cancel: Enable different blocksizes for sink and source

2012-12-04 Thread Peter Meerwald
From: Stefan Huber s.hu...@bct-electronic.com In order to support different blocksizes for source and sink (e.g, for 4-to-1 beamforming/echo canceling which involves 4 record channels and 1 playback channel) the AEC API is altered: The blocksize for source and sink may differ (due to different

[pulseaudio-discuss] RFC: add multi-channel AEC support

2012-12-04 Thread Peter Meerwald
Hello, we'd like to integrate a 4-channel beam-forming/noise suppression/echo cancellation module in PulseAudio's AEC framework the idea is to have a audio source with 4 channels, process that, and pass a mono stream to the application (some VoIP, hands-free client); the application plays a

Re: [pulseaudio-discuss] gnome-shell hangs, waiting for pulse-audio

2012-12-04 Thread Henrik /KaarPoSoft
On 12/04/12 13:41, Tanu Kaskinen wrote: Does the patch really cause this, or is the difference because of the self-compiled libcanberra? That is, if you compile libcanberra without the patch, does it return to the old behavior? I compiled libcaberra before *without* the patch, running with

Re: [pulseaudio-discuss] [PATCH v0] bluetooth: Fix unacquired transports during sink resume

2012-12-04 Thread Arun Raghavan
On Wed, 2012-11-28 at 19:20 +0100, Mikel Astiz wrote: From: Mikel Astiz mikel.as...@bmw-carit.de The sink can be resumed while the source is still in PA_SOURCE_INIT. This is the case if a module such as module-stream-restore routes the audio to the sink during pa_sink_put(), leading to an

Re: [pulseaudio-discuss] Why are we checking various sample rates?

2012-12-04 Thread Arun Raghavan
On Mon, 2012-12-03 at 14:49 +0100, David Henningsson wrote: On 12/03/2012 07:07 AM, Arun Raghavan wrote: On Fri, 2012-11-30 at 09:59 +0100, David Henningsson wrote: Hi, I'm researching a bug where some set of USB speakers stopped working, probably in 2.x. The peculiar thing about this