[pulseaudio-discuss] Interested in contributing to PulseAudio through GSOC 2013

2013-04-16 Thread Shuai Fan
Hi all, I'd like to introduce myself to the dev community. I am Shuai Fan, a student from Dalian University of Technology, China. And I am interested in working with PulseAudio project in GSOC2013. I'm interested in the idea Better JACK Configurability. Maybe I could have a try. But I

[pulseaudio-discuss] /.libs/.libs/ gotcha

2013-04-16 Thread David Henningsson
When running PA manually, you probably specify -p $(pwd)/src/.libs. I have started to get error messages from PulseAudio about this, but I don't remember exactly when. Perhaps ltdl has recently been updated, or have we? The gotcha is: ltdl seems to add another .libs and tries it first. As a

Re: [pulseaudio-discuss] /.libs/.libs/ gotcha

2013-04-16 Thread Peter Meerwald
When running PA manually, you probably specify -p $(pwd)/src/.libs. I have see 25d8de9f0b788865cc966be709cb9ca815e6e4d7 doc: Fix suggested dl-search-path in README started to get error messages from PulseAudio about this, but I don't remember exactly when. Perhaps ltdl has recently been

Re: [pulseaudio-discuss] Interested in contributing to PulseAudio through GSOC 2013

2013-04-16 Thread Shuai Fan
On 04/16/2013 05:08 PM, Arun Raghavan wrote: On Tue, 2013-04-16 at 15:21 +0800, Shuai Fan wrote: Hi all, I'd like to introduce myself to the dev community. I am Shuai Fan, a student from Dalian University of Technology, China. And I am interested in working with PulseAudio project in

[pulseaudio-discuss] [PATCH] alsa: Fix ELD access warning on shutdown

2013-04-16 Thread David Henningsson
The hdmi_eld_changed callback is called by alsa-lib at shutdown. In that case, just exit instead of trying to access something with already closed handles. Signed-off-by: David Henningsson david.hennings...@canonical.com --- src/modules/alsa/module-alsa-card.c |3 +++ 1 file changed, 3

Re: [pulseaudio-discuss] [PATCH] doc: Mostly fixing up i.e. versus i.e.\ in doxygen documentation

2013-04-16 Thread David Henningsson
On 04/10/2013 06:59 PM, Peter Meerwald wrote: From: Peter Meerwald p.meerw...@bct-electronic.com same for e.g. versus e.g.\ and e.g. versus E.g. this is ueber-nitpicking: will anybody ever notice? You did, apparently ;-) Anyway, why should there be a \ after e.g.? Signed-off-by: Peter

Re: [pulseaudio-discuss] [PATCH] doc: Mostly fixing up i.e. versus i.e.\ in doxygen documentation

2013-04-16 Thread Peter Meerwald
same for e.g. versus e.g.\ and e.g. versus E.g. this is ueber-nitpicking: will anybody ever notice? You did, apparently ;-) Anyway, why should there be a \ after e.g.? to be compliant with doxygen magic doxygen assumes that the first sentence of a description (terminated by a '.') is

[pulseaudio-discuss] [RFC v2 00/15] bluetooth: BlueZ 5 development patches

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de I resubmit this patchset as-is after updating it according to the latest upstream changes. The patchset has been hanging around for a while and several efforts exist that depend on this series, so it seems we should merge this despite the existing

[pulseaudio-discuss] [RFC v2 02/15] bluetooth: Parse the tree returned by ObjectManager

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Parse the result of ObjectManager.GetManagedObjects(), which includes all objects registered, their interfaces and the corresponding properties per interface. --- src/modules/bluetooth/bluetooth-util.c | 120 +++-- 1 file

[pulseaudio-discuss] [RFC v2 03/15] bluetooth: Support ObjectManager interface add/remove

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Install matches for signals ObjectManager.InterfacesAdded and ObjectManager.InterfacesRemoved, and process the devices that are registered and unregistered dynamically. --- src/modules/bluetooth/bluetooth-util.c | 58 ++

[pulseaudio-discuss] [RFC v2 04/15] bluetooth: Support Properties.PropertiesChanged signal

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Install matches for signal Properties.PropertiesChanged and process the properties corresponding to the tracked devices. --- src/modules/bluetooth/bluetooth-util.c | 29 + 1 file changed, 29 insertions(+) diff --git

[pulseaudio-discuss] [RFC v2 05/15] bluetooth: Add HFP 1.6 codec ID

2013-04-16 Thread Mikel Astiz
From: Vinicius Costa Gomes vinicius.go...@openbossa.org According to the HFP 1.6 spec, the default codec (CVSD) has ID 0x01. This change has no effect in older versions of BlueZ since the codec ID was ignored for HFP, due to the fact that HFP versions prior to 1.6 do not have such a field. ---

[pulseaudio-discuss] [RFC v2 06/15] bluetooth: Handle transports configured before UUID received

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Now that the transport can be configured from some other process (i.e. oFono), there is no guarantee that the UUID from BlueZ will already have been received. This requires PulseAudio to assume that the UUID is actually supported by the device and that

[pulseaudio-discuss] [RFC v2 07/15] bluetooth: BlueZ 5 interface rename to org.bluez.MediaEndpoint1

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Use the new interface name if BlueZ 5 has been detected. --- src/modules/bluetooth/bluetooth-util.c | 56 +- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/src/modules/bluetooth/bluetooth-util.c

[pulseaudio-discuss] [RFC v2 09/15] bluetooth: BlueZ 5 interface rename to org.bluez.MediaTransport1

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Use the new interface name if BlueZ 5 has been detected. --- src/modules/bluetooth/bluetooth-util.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/modules/bluetooth/bluetooth-util.c

[pulseaudio-discuss] [RFC v2 08/15] bluetooth: BlueZ 5 interface rename to org.bluez.Media1

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Use the new interface name if BlueZ 5 has been detected. --- src/modules/bluetooth/bluetooth-util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/bluetooth/bluetooth-util.c

[pulseaudio-discuss] [RFC v2 10/15] bluetooth: Parse media transport's properties

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Consider the media transport when a PropertiesChanged signal is received. Note that the transport might have an owner other than BlueZ, and thus the property changes would be emitted from arbitrary senders. For performance reasons, the installed match

[pulseaudio-discuss] [RFC v2 11/15] bluetooth: Support media transport's State property

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de BlueZ 5 exposes a 'State' property in the media transport interface. With regard to PA, this replaces the profile-specific interfaces, since they were being used to know if the audio was streaming or not. --- src/modules/bluetooth/bluetooth-util.c | 42

[pulseaudio-discuss] [RFC v2 12/15] bluetooth: Update to new BlueZ 5 transport acquire/release API

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de The new D-Bus API doesn't support access rights, which weren't used by PulseAudio anyway, but it does solve a race condition: now optional acquires can be implemented by bluetooth-util atomically using the D-Bus TryAcquire() method. ---

[pulseaudio-discuss] [RFC v2 13/15] bluetooth: Support transport auto-release

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de With BlueZ 5, if the remote device suspends the audio, the transport state will change to idle and the endpoint is not required to release the transport, since this could introduce race conditions. Therefore, ignore the call to

[pulseaudio-discuss] [RFC v2 14/15] bluetooth: Update to new property setter API in BlueZ 5

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de If BlueZ 5 is in use, the standard org.freedesktop.DBus.Properties needs to be used instead of the old SetProperty() method. --- src/modules/bluetooth/bluetooth-util.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[pulseaudio-discuss] [RFC v2 15/15] bluetooth: Update to volume control in BlueZ 5

2013-04-16 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de In BlueZ 5, the microphone and speaker gains are exposed as properties of the MediaTransport1 interface. --- src/modules/bluetooth/bluetooth-util.c | 41 ++ 1 file changed, 41 insertions(+) diff --git

[pulseaudio-discuss] Ideas for GSoC 2013

2013-04-16 Thread Michele Bussolotto
Dear Sirs, I am Michele Bussolotto, an M.Sc. student in Electronic Engineer. I would like to partecipate to this edition of Google Summer of Code and I will be very glad if you could give me an opinion about a project idea. In particular, I would like to pay attention to problems in audio

[pulseaudio-discuss] [PATCH 0/3] Fix muted headphones in guest account

2013-04-16 Thread David Henningsson
Don't worry about this being a three patch series, because the first two patches are really small. This is a fix for a long term issue: that if you log in to a guest account (or new account) with your headphones plugged in, your headphones will be muted by default. This is the current chain of

[pulseaudio-discuss] [PATCH 2/3] alsa: Initialize ports before sinks/sources

2013-04-16 Thread David Henningsson
This way port availability has been filled in when we create the sink, which will later enable us to pick the right port directly. Signed-off-by: David Henningsson david.hennings...@canonical.com --- src/modules/alsa/module-alsa-card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[pulseaudio-discuss] [PATCH 3/3] module-switch-on-port-available: Handle hotplugged cards

2013-04-16 Thread David Henningsson
If a card is hot-plugged (which all cards are, now that we load this module before module-*-detect), make sure we don't start up a sink with an unavailable port selected. Signed-off-by: David Henningsson david.hennings...@canonical.com --- src/modules/module-switch-on-port-available.c | 69

Re: [pulseaudio-discuss] [PATCH 1/3] default.pa: Load switch-on-port-available before udev-detect

2013-04-16 Thread João Paulo Rechi Vita
On Tue, Apr 16, 2013 at 11:44 AM, David Henningsson david.hennings...@canonical.com wrote: We need to pick the right port as early as possible, before the first volume is picked up. Hence this module needs to be loaded before the sound card modules are loaded. Signed-off-by: David Henningsson

[pulseaudio-discuss] Compile error with PA

2013-04-16 Thread D K
Hi, I am getting following compile error with PA. Any pointer to fix it would be appreciated. CCLD interpol-test CC sync_playback-sync-playback.o CCLD sync-playback make[3]: *** No rule to make target `daemon/pulseaudio.desktop', needed by `all-am'. Stop. make[3]: Leaving

Re: [pulseaudio-discuss] Compile error with PA

2013-04-16 Thread D K
CCLD connect-stress CC extended_test-extended-test.o CCLD extended-test CC interpol_test-interpol-test.o CCLD interpol-test CC sync_playback-sync-playback.o CCLD sync-playback cd .. /bin/sh ./config.status src/esdcompat config.status: creating src/esdcompat cd ..

[pulseaudio-discuss] [PATCH] alsa-source: Fix log message

2013-04-16 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org The log message when updating the source sample rate wrongly mentions Sink instead of Source. This was probably a copy and paste error. --- src/modules/alsa/alsa-source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git