Re: [pulseaudio-discuss] How to modify (source) port priorities?

2012-11-07 Thread Raymond Yau
> > Hello. > > I'm using PulseAudio on a laptop, and there's a long-time annoyance I'm unable to solve with Google's help, could you help me? > > In the "Input" tab of my "Sound" GNOME system panel, the "Connector" keeps being changed from "Microphone" to "Internal Microphone" at each restart (I'd

Re: [pulseaudio-discuss] How to modify (source) port priorities?

2012-11-07 Thread Ronan Jouchet
On 11/07/2012 01:49 AM, David Henningsson wrote: On 11/07/2012 04:51 AM, Ronan Jouchet wrote: In the "Input" tab of my "Sound" GNOME system panel, the "Connector" keeps being changed from "Microphone" to "Internal Microphone" at each restart (I'd like the contrary: "Internal Microphone" is awful

Re: [pulseaudio-discuss] How to modify (source) port priorities?

2012-11-07 Thread David Henningsson
On 11/08/2012 12:34 AM, Ronan Jouchet wrote: On 11/07/2012 01:49 AM, David Henningsson wrote: On 11/07/2012 04:51 AM, Ronan Jouchet wrote: In the "Input" tab of my "Sound" GNOME system panel, the "Connector" keeps being changed from "Microphone" to "Internal Microphone" at each restart (I'd lik

Re: [pulseaudio-discuss] Low latency (was: PulseConf report)

2012-11-07 Thread David Henningsson
On 11/07/2012 09:59 PM, Pierre-Louis Bossart wrote: For those who aren't following the planet, thought I'd like you know that I've put up notes from PulseConf up at: http://arunraghavan.net/2012/11/pulseconf-2012-report/ One comment on the low-latency case for desktop gaming with a 16ms late

Re: [pulseaudio-discuss] PulseConf report

2012-11-07 Thread Pierre-Louis Bossart
For those who aren't following the planet, thought I'd like you know that I've put up notes from PulseConf up at: http://arunraghavan.net/2012/11/pulseconf-2012-report/ One comment on the low-latency case for desktop gaming with a 16ms latency. I imagine this means trouble when sending data

[pulseaudio-discuss] PulseConf report

2012-11-07 Thread Arun Raghavan
Hi folks, For those who aren't following the planet, thought I'd like you know that I've put up notes from PulseConf up at: http://arunraghavan.net/2012/11/pulseconf-2012-report/ Cheers, Arun ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists

[pulseaudio-discuss] [PATCH] bluetooth: Add support for transport created by external profile

2012-11-07 Thread Luiz Augusto von Dentz
From: Luiz Augusto von Dentz With BlueZ 5 it is possible to have profile registered by a third party process which does not share the same bus id as bluetoothd so it is necessary to store the sender of the transport to be able to talk to it. Note that this is backward compatible. --- src/module

[pulseaudio-discuss] [PATCH v2 4/4] pacat: Handle holes in recording streams.

2012-11-07 Thread Tanu Kaskinen
pa_silence_memory() pulls sample-util as a dependency, so it had to be moved from libpulsecore to libpulsecommon. sample-util in turn pulls some more stuff. --- src/Makefile.am |8 src/utils/pacat.c | 37 ++--- 2 files changed, 30 insertions(+), 15

[pulseaudio-discuss] [PATCH v2 3/4] padsp: Handle holes in recording streams.

2012-11-07 Thread Tanu Kaskinen
--- src/utils/padsp.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/utils/padsp.c b/src/utils/padsp.c index f6a3520..858cec8 100644 --- a/src/utils/padsp.c +++ b/src/utils/padsp.c @@ -922,9 +922,22 @@ static int fd_info_copy_data(fd_info *i, int force) {

[pulseaudio-discuss] [PATCH v2 2/4] simple: Handle holes in recording streams.

2012-11-07 Thread Tanu Kaskinen
--- src/pulse/simple.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pulse/simple.c b/src/pulse/simple.c index 3524296..860cd18 100644 --- a/src/pulse/simple.c +++ b/src/pulse/simple.c @@ -331,9 +331,14 @@ int pa_simple_read(pa_simple *p, void*data, size_t length

[pulseaudio-discuss] [PATCH v2 1/4] pulse: Fix hole handling in pa_stream_peek().

2012-11-07 Thread Tanu Kaskinen
Previously, if there was a hole in a recording stream, pa_stream_peek() would crash. Holes could be handled silently inside pa_stream_peek() by generating silence (wouldn't work for compressed streams, though) or by skipping any holes. However, I think it's better to let the caller decide how the h

[pulseaudio-discuss] [PATCH v2 0/4] Handling holes in recording streams.

2012-11-07 Thread Tanu Kaskinen
Changes in v2: - Split the patch into four parts. - Simplified buffer allocation in pacat by taking advantage of realloc's behavior when the input pointer is null. - Made the silence buffer in pacat a global variable to reduce repeated allocation and freeing of the buffer. Tanu Kaskinen (

Re: [pulseaudio-discuss] [PATCH] pulse: Fix hole handling in pa_stream_peek().

2012-11-07 Thread Tanu Kaskinen
On Wed, 2012-11-07 at 14:21 +0100, David Henningsson wrote: > On 11/07/2012 09:36 AM, Tanu Kaskinen wrote: > > Previously, if there was a hole in a recording stream, > > pa_stream_peek() would crash. Holes could be handled silently inside > > pa_stream_peek() by generating silence (wouldn't work fo

Re: [pulseaudio-discuss] [PATCH] pulse: Fix hole handling in pa_stream_peek().

2012-11-07 Thread David Henningsson
On 11/07/2012 09:36 AM, Tanu Kaskinen wrote: Previously, if there was a hole in a recording stream, pa_stream_peek() would crash. Holes could be handled silently inside pa_stream_peek() by generating silence (wouldn't work for compressed streams, though) or by skipping any holes. However, I think

Re: [pulseaudio-discuss] [PATCH 4/5] mainloop: Write to the wakeup pipe unconditionally when waking up the mainloop.

2012-11-07 Thread Tanu Kaskinen
Ping! This old patch should fix a recently reported bug: https://bugs.freedesktop.org/show_bug.cgi?id=56735 This patch seems to depend on patches 1 and 3 in the series -- Tanu On Mon, 2012-04-02 at 15:01 +0300, Tanu Kaskinen wrote: > If the mainloop is just about to enter polling, but m->state

[pulseaudio-discuss] [PATCH] pulse: Fix hole handling in pa_stream_peek().

2012-11-07 Thread Tanu Kaskinen
Previously, if there was a hole in a recording stream, pa_stream_peek() would crash. Holes could be handled silently inside pa_stream_peek() by generating silence (wouldn't work for compressed streams, though) or by skipping any holes. However, I think it's better to let the caller decide how the h

Re: [pulseaudio-discuss] jackdbus module, pulse fails to conform on device reservation API

2012-11-07 Thread Ian Malone
On 7 November 2012 06:46, David Henningsson wrote: > On 11/07/2012 12:52 AM, Ian Malone wrote: >> >> On 6 November 2012 15:58, Ian Malone wrote: >> etc. >> >> >>> >>> I'll speculate that something somewhere is confused by the presence of >>> two devices and either Audio1 isn't being provided corr