Re: [pulseaudio-discuss] [PATCH] profile-switcher: New module to switch card profiles based on roles

2011-11-02 Thread Lin, Mengdong
> For the profile switch stuff in general, I wonder how much of these > discussions are really relevant now - once the priority list > infrastructure is in place (and as I understand it Colin is keen to get > started when he finds some time to do it), we might have more > opportunities to work wit

[pulseaudio-discuss] [PATCH 2/2] chnages in pulseaudio alsa module to support UCM

2011-11-02 Thread jankovac503
From: Janos Kovacs --- src/Makefile.am |1 + src/modules/alsa/alsa-mixer.c | 80 - src/modules/alsa/alsa-mixer.h | 19 - src/modules/alsa/alsa-sink.c| 58 +++--- src/modules/alsa/alsa-source.c | 53 +

[pulseaudio-discuss] [PATCH 1/2] new files for ALSA UCM support

2011-11-02 Thread jankovac503
From: Janos Kovacs --- src/modules/alsa/alsa-ucm.c | 1481 +++ src/modules/alsa/alsa-ucm.h | 52 ++ 2 files changed, 1533 insertions(+), 0 deletions(-) create mode 100644 src/modules/alsa/alsa-ucm.c create mode 100644 src/modules/alsa/alsa-ucm.h diff

[pulseaudio-discuss] [PATCH 0/2] Patches for supporting ALSA UCM

2011-11-02 Thread jankovac503
Goals - Logical device based policy decision making was one of our main motivation to utilize UCM. Use of logical devices allows abstract policy rules that are independent of the actual hardware. The policy decisions are made in terms of 'speakers', 'headsets', 'HDMI' connect

[pulseaudio-discuss] [PATCH 8/8] Improve performance of peaks resampler

2011-11-02 Thread Maarten Bosmans
This is mainly achieved by special-casing the common 1ch float case, which is used by applications such as pavucontrol. --- src/pulsecore/resampler.c | 37 ++--- 1 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulse

[pulseaudio-discuss] [PATCH 7/8] Rework the peaks resampler

2011-11-02 Thread Maarten Bosmans
The algorithm had been implemented the same way as the trivial resampler. But an important difference between the two is that the trivial resampler can write an output as soon as the first corresponding input sample is seen, whereas the peaks resampler must have read all input samples before writi

[pulseaudio-discuss] [PATCH 6/8] oss: Use log2 function from core-util instead of own implementation

2011-11-02 Thread Maarten Bosmans
--- src/modules/oss/oss-util.c | 19 +-- 1 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/modules/oss/oss-util.c b/src/modules/oss/oss-util.c index 04899af..9412a87 100644 --- a/src/modules/oss/oss-util.c +++ b/src/modules/oss/oss-util.c @@ -231,23 +231,14 @@ i

[pulseaudio-discuss] [PATCH 5/8] Squash unused variable compiler warning

2011-11-02 Thread Maarten Bosmans
--- src/modules/echo-cancel/module-echo-cancel.c |7 --- src/modules/module-equalizer-sink.c |4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/modules/echo-cancel/module-echo-cancel.c b/src/modules/echo-cancel/module-echo-cancel.c index 9b69f82..d15c

[pulseaudio-discuss] [PATCH 4/8] Avoid some compiler warnings when cross-compiling for mingw32

2011-11-02 Thread Maarten Bosmans
Autoconf documentation says that AC_FUNC_SELECT_ARGTYPES shouldn't be used anyway. --- configure.ac |1 - src/modules/module-esound-sink.c |2 +- src/pulse/mainloop.c |4 +--- src/pulsecore/poll.c | 16 src/pulsecore/shm.c

[pulseaudio-discuss] [PATCH 3/8] Remove vector.h and vector-test

2011-11-02 Thread Maarten Bosmans
This code was never used and vectorization is handled by Orc anyway. --- src/.gitignore |1 - src/Makefile.am |8 +--- src/pulsecore/vector.h | 98 --- src/tests/vector-test.c | 83 --- 4

[pulseaudio-discuss] [PATCH 2/8] build-sys: Remove check for alloca()

2011-11-02 Thread Maarten Bosmans
As it isn't used anymore. Also, some minor cleanup. --- configure.ac | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index 324e32e..be31486 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,9 @@ AC_INIT([pulseaudio],[m

[pulseaudio-discuss] [PATCH 1/8] build-sys: Use configure cache by default in bootstrap

2011-11-02 Thread Maarten Bosmans
This speeds up subsequent configure invokations --- .gitignore |1 + autogen.sh |2 +- bootstrap.sh |2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9290ad2..765642f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ Makefi

[pulseaudio-discuss] Some various patches

2011-11-02 Thread Maarten Bosmans
Here's a series of unrelated patches. Some of them I already sent to the list before, but needed rebasing, others are entirely new. The first 6 are just some maintainance that needed being done. The last two are improvements for the peaks resampler. Don't worry, there's nothing controversial

Re: [pulseaudio-discuss] [PATCH] Remove time-smoother and shm from libpulsecore

2011-11-02 Thread Maarten Bosmans
ping 2011/10/19 Maarten Bosmans : > As they are already included in libpulsecommon. > --- >  src/Makefile.am |    2 -- >  1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/src/Makefile.am b/src/Makefile.am > index c0841b4..d8270ea 100644 > --- a/src/Makefile.am > +++ b/src/Makefile

Re: [pulseaudio-discuss] [PATCH] rtpoll: Update comment

2011-11-02 Thread Maarten Bosmans
ping 2011/10/13 Maarten Bosmans : > to reflect changes made in > 32e2cd6d3216f780c4cffed0f8eb3c30f2c8d732 > core: get rid of rt sig/timer handling since modern Linux' ppoll() is finally > fixed for granularity > --- >  src/pulsecore/rtpoll.h |    8 +--- >  1 files changed, 1 insertions(+), 7

[pulseaudio-discuss] PulseAudio shared memory files

2011-11-02 Thread Brian Cameron
I notice that PulseAudio version 1.1 seems to leave behind shared memory files when my GNOME session exits, or when I kill the pulseaudio daemon from within my GNOME session. For example, when my session is running I see 3 shared memory files, associated with the following processes: - The Puls

Re: [pulseaudio-discuss] [PATCH v4 1/7] bluetooth: Fix Media Endpoint for HandsfreeGateway

2011-11-02 Thread Arun Raghavan
On Wed, 2011-11-02 at 14:41 +0200, Luiz Augusto von Dentz wrote: [...] > I guess we should start integrating these patches. Yup, it was on my list -- in my tree now. Cheers, Arun ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.

Re: [pulseaudio-discuss] Revised patch set for `make check`

2011-11-02 Thread Arun Raghavan
On Fri, 2011-10-28 at 22:44 +0200, Maarten Bosmans wrote: > The branch can also be reviewed from > https://github.com/mkbosmans/pulseaudio/compare/master...make-check > > Merge make-check branch from git://github.com/mkbosmans/pulseaudio.git > > I addressed Arun's comments, except for: > [PATCH]

Re: [pulseaudio-discuss] [PATCH v2] sink, source: Join two ifs with the same condition.

2011-11-02 Thread Arun Raghavan
On Mon, 2011-10-31 at 20:45 +0200, Tanu Kaskinen wrote: > Changes in v2: > * Moved the comment in source.c to the right place. > --- Pulled to my tree -- sorry about the delay. -- Arun ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freed

Re: [pulseaudio-discuss] [PATCH] When BT profile is changed, bt transport is released

2011-11-02 Thread Dalleau, Frederic
Hi Chan-yeol, On Wed, Nov 2, 2011 at 1:05 PM, Chan-yeol Park wrote: > In case we change profile, we should release the previous transport > in order to suspend headset connection. Luiz just replied to you while I was writing this mail. You probably met the same issue that I did. I sent a similar

Re: [pulseaudio-discuss] [PATCH v4 1/7] bluetooth: Fix Media Endpoint for HandsfreeGateway

2011-11-02 Thread Luiz Augusto von Dentz
Hi Frederic, 2011/10/4 Frédéric Dalleau : > This patch will add the necessary quirks so that pulseaudio can regiter > an endpoint on the /MediaEndpoint/HFPHS path. This endpoint is to be > used for HFP Hansfree profile. > --- >  src/modules/bluetooth/bluetooth-util.c            |   12 +---

Re: [pulseaudio-discuss] [PATCH] When BT profile is changed, bt transport is released

2011-11-02 Thread Luiz Augusto von Dentz
Hi Chanyeol, On Wed, Nov 2, 2011 at 2:05 PM, Chan-yeol Park wrote: > In case we change profile, we should release the previous transport > in order to suspend headset connection. > --- >  src/modules/bluetooth/module-bluetooth-device.c |    7 +++ >  1 files changed, 7 insertions(+), 0 deletio

[pulseaudio-discuss] [PATCH] When BT profile is changed, bt transport is released

2011-11-02 Thread Chan-yeol Park
In case we change profile, we should release the previous transport in order to suspend headset connection. --- src/modules/bluetooth/module-bluetooth-device.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modu

Re: [pulseaudio-discuss] [PATCH] profile-switcher: New module to switch card profiles based on roles

2011-11-02 Thread David Henningsson
On 2011-11-01 18:54, Tanu Kaskinen wrote: On Tue, 2011-11-01 at 19:46 +0200, Arun Raghavan wrote: Ah, sorry, I misread your suggestion earlier. I'm not sure this is the right approach. The intended role really is a property of the sink, not the profile. The main problem being that we can't see s

[pulseaudio-discuss] mic is seen by pulse but won't take in signals

2011-11-02 Thread Bearcat M. Şandor
Folks, I've been working on a pulseaudio set up for the last few days. I have just about everything working except the mic. It *was* working a few days ago before i tried to get RTP working. I donno what i did. If i make a test call with skype or try to record into an app, pulse audio displays