Re: [pulseaudio-discuss] How to find the latest created bluetooth sink/source via event hook?

2011-05-19 Thread Colin Guthrie
'Twas brillig, and Lin, Mengdong at 19/05/11 03:09 did gyre and gimble: Great thanks for your advice, Col! Please note that there already exists a module called module-switch-on-connect which does this task, but for all new sinks, not just BT sinks. ... I found module-switch-on-connect.c

Re: [pulseaudio-discuss] Assertion '(size_t) decoded == a2dp-frame_length' failed at modules/bluetooth/module-bluetooth-device

2011-05-19 Thread Luiz Augusto von Dentz
Hi, On Wed, May 18, 2011 at 1:37 PM, h.pa...@accenture.com wrote: My audio.conf looks as below. Configuration file for the audio service # This section contains options which are not specific to any # particular interface [General] Enable=Source # Switch to master role for incoming

Re: [pulseaudio-discuss] Assertion '(size_t) decoded == a2dp-frame_length' failed at modules/bluetooth/module-bluetooth-device

2011-05-19 Thread h.patil
Hi Luiz, Thanks a lot for you reply, please find the below hcidump output /home # ./hcidump -x HCI sniffer - Bluetooth packet analyzer ver 2.0 device: hci0 snap_len: 1028 filter: 0x HCI Event: Vendor (0xff) plen 3 CF 07 78 HCI Event: Vendor (0xff) plen 3 CF 06 F9 HCI

[pulseaudio-discuss] [PATCH 0/0] Jack detection support.

2011-05-19 Thread Jorge Eduardo Candelaria
The following series of patches add support for jack detection. The udev module will match a list of input devices against the current audio card. When it finds an input that belongs to the card, we get the input number and send it to the alsa-card through a new parameter called jack_id. If

[pulseaudio-discuss] [PATCH 1/2] alsa: add jack detection support

2011-05-19 Thread Jorge Eduardo Candelaria
From: Margarita Olaya Cabrera m...@slimlogic.co.uk This patch adds support to module-alsa-card so that we can read jack insertion and removal events using the input device subsystem. i.e. we can detect headphone insertions and removals. This patch adds a new module parameter called jack_id that

[pulseaudio-discuss] [PATCH 2/2] alsa: load jack detection module

2011-05-19 Thread Jorge Eduardo Candelaria
From: Margarita Olaya Cabrera m...@slimlogic.co.uk This patch adds support for udev detection of sound card jack event devices. When a new card is detected, the code now also checks for the presence of any associated input device via udev, and report the device to module-alsa-card via its

Re: [pulseaudio-discuss] [PATCHv3 0/4] Read and store UCM data as proplist

2011-05-19 Thread Jorge Eduardo Candelaria
On May 18, 2011, at 2:01 AM, Colin Guthrie wrote: 'Twas brillig, and Jorge Eduardo Candelaria at 18/05/11 07:22 did gyre and gimble: On May 17, 2011, at 8:56 AM, Lu Guanqun wrote: On Thu, May 12, 2011 at 02:56:04AM +0800, Jorge Eduardo Candelaria wrote: Ok, I'll copy the jack code we

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: When setting hw volume, round always up with playback and always down with capture.

2011-05-19 Thread Tanu Kaskinen
On Tue, 2011-05-17 at 19:40 +0100, Colin Guthrie wrote: Just to report that a modified version of that patch does indeed fix the problem for me. What do you think overall? Should we try and hunt down the problems with the conversion or should this patch be included? I think it would make

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: When setting hw volume, round always up with playback and always down with capture.

2011-05-19 Thread Tanu Kaskinen
On Tue, 2011-05-17 at 12:13 +0100, Colin Guthrie wrote: Thanks, I'll test this patch and see if it helps with my test case. Assuming that it does, is this something we should really push to alsa lib? When I first encountered the problem I did start hacking away at alsa lib looking for the

Re: [pulseaudio-discuss] Jack detection (was: Re: [PATCHv3 0/4] Read and store UCM data as proplist)

2011-05-19 Thread Tanu Kaskinen
On Tue, 2011-05-17 at 13:44 +0200, David Henningsson wrote: Agree with the port property. About the port vs profile question, I think we might think that backwards from a user's perspective. Conceptually I'd say we select port first (manually or automatic; doesn't matter for this

Re: [pulseaudio-discuss] [PATCH 1/2] alsa: add jack detection support

2011-05-19 Thread Tanu Kaskinen
I tried to apply the patch for easier review in meld, but unfortunately it seems that some helpful software has eaten the first space on lines that begin with one or more spaces. Because of that, git am doesn't accept the patch. I'll review this anyway, without meld. Overall comments: there is

[pulseaudio-discuss] [HEADSUP] Please submit something for the Audio track at LPC!

2011-05-19 Thread Lennart Poettering
Heya, The Linux Plumbers Conference 2011 is coming soon. Mark Brown and I are running the Audio track at LPC, and we are looking for more proposals! So, please consider submitting something if you haven't done so yet. We are looking for all kinds of technical talks covering everything audio