Re: [pulseaudio-discuss] [PATCH 3/3] devicewidget: Add a latency offset spinbutton

2012-07-27 Thread Tanu Kaskinen
On Thu, 2012-07-26 at 15:42 +0200, poljar (Damir Jelić) wrote: +static void updatePorts(DeviceWidget *w, std::mapGlib::ustring, PortInfo ports) { +std::mapGlib::ustring, PortInfo::iterator it; +PortInfo *activePort; + +it = ports.find(w-activePort); + +if (it !=

[pulseaudio-discuss] [PATCH pavucontrol] Enable Automake's silent-rules option.

2012-07-27 Thread Tanu Kaskinen
--- configure.ac |1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 15f489c..8ba85a3 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,7 @@ AC_CONFIG_SRCDIR([src/pavucontrol.cc]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h])

Re: [pulseaudio-discuss] [PATCH] vala: Add bindings for libpulse-simple

2012-07-27 Thread Tanu Kaskinen
Sorry for delay, but it seems that there's more traffic on the list than I can handle, and stuff gets buried. As you can see, pinging can help :) On Mon, 2012-07-09 at 11:31 +0200, Alexander Kurtz wrote: Hi, On Fri, 2012-07-06 at 17:54 +0300, Tanu Kaskinen wrote: does the vala compiler

Re: [pulseaudio-discuss] driver

2012-07-27 Thread Tanu Kaskinen
On Thu, 2012-07-26 at 21:51 +0800, grprd wrote: Hello, i need implement driver for sound card (virtual). it should provide audio device to applications to use for audio o/p. package audio data stream transmit it over network. here audio device ll be in LAN. Driver should capable of

Re: [pulseaudio-discuss] [RFC v1 1/3] bluetooth: Replace deprecated ListAdapters()

2012-07-27 Thread Luiz Augusto von Dentz
Hi Mikel, On Thu, Jul 26, 2012 at 1:36 PM, Mikel Astiz mikel.astiz@gmail.com wrote: From: Mikel Astiz mikel.as...@bmw-carit.de The method ListAdapters() in org.bluez.Manager was deprecated in BlueZ 4.61, and is going to be removed in future releases. Instead, a property was introduced

Re: [pulseaudio-discuss] [PATCH v1 2/4] bluetooth: Do not switch to profile unless Playing

2012-07-27 Thread Luiz Augusto von Dentz
Hi Mikel, On Thu, Jul 26, 2012 at 3:32 PM, Mikel Astiz mikel.astiz@gmail.com wrote: From: Mikel Astiz mikel.as...@bmw-carit.de If no audio stream exists to the remote device during discovery, setting the profile to hfgw or a2dp_source would request it. This is something that should not

[pulseaudio-discuss] [PATCH v2 0/5] Bluetooth Media API and related

2012-07-27 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de v2 of this patchset reorders and splits the patches to make the discussion easier. Patches 1 and 2 haven't been modified and focus on the MTU handling on Media API. Patch 3 handles now the HFPGW case only, which fixes the module load failure when

[pulseaudio-discuss] [PATCH v2 1/5] bluetooth: Minor style fixes

2012-07-27 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de Fix some minor style fixes to be consistent with the project coding style. --- src/modules/bluetooth/module-bluetooth-device.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git

[pulseaudio-discuss] [PATCH v2 3/5] bluetooth: Avoid duplicating profile argument twice

2012-07-27 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de The module module-bluetooth-device should never be given parameter 'profile' twice, even if both HFGW and A2DP are playing. This patch proposed to consider HFGW first. --- src/modules/bluetooth/module-bluetooth-discover.c |5 ++--- 1 files changed,

[pulseaudio-discuss] [PATCH v2 4/5] bluetooth: Do not switch to hfgw unless Playing

2012-07-27 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de If no audio stream exists to the remote device during discovery, setting the profile to hfgw would request it. This means BlueZ will try to initiate a SCO connection, which the remote end (the phone) will typically reject. Thus, module-bluetooth-device

Re: [pulseaudio-discuss] [PATCH v2 0/5] Bluetooth Media API and related

2012-07-27 Thread Mikel Astiz
Hi, On Fri, Jul 27, 2012 at 4:41 PM, Mikel Astiz mikel.astiz@gmail.com wrote: From: Mikel Astiz mikel.as...@bmw-carit.de v2 of this patchset reorders and splits the patches to make the discussion easier. Patches 1 and 2 haven't been modified and focus on the MTU handling on Media

Re: [pulseaudio-discuss] [PATCH v2 2/5] bluetooth: Consider different input and output MTU

2012-07-27 Thread Tanu Kaskinen
On Fri, 2012-07-27 at 16:41 +0200, Mikel Astiz wrote: @@ -809,7 +817,7 @@ static int a2dp_process_push(struct userdata *u) { pa_assert(u-source); pa_assert(u-read_smoother); -memchunk.memblock = pa_memblock_new(u-core-mempool, u-block_size); +memchunk.memblock =

[pulseaudio-discuss] [RFC v2 0/3] bluetooth: Replace deprecated BlueZ API

2012-07-27 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de This third version integrates the optimization suggested by Luiz, checking the property name before calling dbus_message_iter_recurse(). I personally prefer v1 since the code is more consistent with the way properties are handled in this file. However

[pulseaudio-discuss] [RFC v2 1/3] bluetooth: Replace deprecated ListAdapters()

2012-07-27 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de The method ListAdapters() in org.bluez.Manager was deprecated in BlueZ 4.61, and is going to be removed in future releases. Instead, a property was introduced for this purpose in BlueZ 4.22. --- src/modules/bluetooth/bluetooth-util.c | 108

[pulseaudio-discuss] [RFC v2 3/3] bluetooth: Remove minor unnecessary check

2012-07-27 Thread Mikel Astiz
From: Mikel Astiz mikel.as...@bmw-carit.de The return value of dbus_message_iter_next() doesn't need to be checked since the while condition will be false anyway (arg type will be DBUS_TYPE_INVALID). --- src/modules/bluetooth/bluetooth-util.c |6 ++ 1 files changed, 2 insertions(+), 4

[pulseaudio-discuss] Multiple PulseAudio bugs affecting mplayer2 users

2012-07-27 Thread Uoti Urpala
A lot of mplayer2 users with PulseAudio have experienced problems. I investigated some of those and confirmed that they are caused by PulseAudio. There are quite a few distinct PulseAudio bugs; some are analyzed below. Overall, however, I wonder why there are so many fairly obvious bugs in a

[pulseaudio-discuss] GSOC: bluetooth latency - status report [8/8]

2012-07-27 Thread poljar (Damir Jelić)
Hi mailing list. Good news again. Pavucontrol was successfully extended to support the new latency offset. The spinbutton is hidden if the server does not support this feature so don't be surprised if nothing looks different. With this my GSoC project is finished and this is my final report for

Re: [pulseaudio-discuss] GSOC: bluetooth latency - status report [8/8]

2012-07-27 Thread Ștefan Săftescu
Congratulations on finishing your project! :-) Ștefan On Jul 27, 2012 8:24 PM, poljar (Damir Jelić) poljari...@gmail.com wrote: Hi mailing list. Good news again. Pavucontrol was successfully extended to support the new latency offset. The spinbutton is hidden if the server does not support

Re: [pulseaudio-discuss] (no subject)

2012-07-27 Thread Pierre-Louis Bossart
the command I test is a loopback (just playback or capture works fine): pacat -r -d alsa_input.platform-soc-audio.analog-stereo | pacat -p -d alsa_output.platform-soc-audio.analog-stereo It could be that your hardware does not let you reconfigure the input and output independently? I am

Re: [pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-27 Thread Pierre-Louis Bossart
On 7/25/2012 4:19 PM, Mark Brown wrote: If this is for fake streams held open by userspace we have a better in kernel solution now - just hide the PCM from userspace entirely and start it like anything else in the device. Will that not suffice? I don't get it, I must have missed something. What