Re: [pulseaudio-discuss] [PATCH v3 00/11] Introduce memfd support

2016-03-28 Thread Sjoerd Simons
out to be a problem, the default will simply be changed ;) > Also, I have performed some research on games available via gog.com > or  > in the past Humble Bundles that have a native Linux version. It > seems  > that games that bundle libpulse are rare there, if they exist there > at 

Re: [pulseaudio-discuss] [Ubuntu-audio-dev] Preferred resampler method on armhf.

2014-11-20 Thread Sjoerd Simons
tch would make sense here. Well with the patch mentioned here, i would probably drop that patch from Debian in any case as pulse would just follow speex (which is the right thing anyway).. Which makes the upstream choice in pulse a bit moot? That said i'd still be interesting

Re: [pulseaudio-discuss] [Ubuntu-audio-dev] Preferred resampler method on armhf.

2014-11-20 Thread Sjoerd Simons
On Thu, 2014-11-20 at 08:35 +0100, David Henningsson wrote: > Crossposting to Debian and upstream lists. > > Apparently Debian has a patch that uss16 speex-fixed-3 587738 604034 874023 > 421630 543090 es fixed point by default on armhf, > so I'm just echoing Luke's question here: Has anybody per

[pulseaudio-discuss] [PATCH 4/4] alsa-mixer: Switch off the Headphone element on the line-out path

2014-11-16 Thread Sjoerd Simons
If the Headphone element isn't turned off when switching to line-out (with headphone plugged in) it can keep outputting audio (even though it's mute/zero!?).. So just explicitely turn it off. --- src/modules/alsa/mixer/paths/analog-output-lineout.conf | 7 ++- 1 file changed, 2 insertions(+),

[pulseaudio-discuss] [PATCH 3/4] alsa-mixer: Add jack for Dock line-out

2014-11-16 Thread Sjoerd Simons
--- src/modules/alsa/mixer/paths/analog-output-lineout.conf | 8 src/modules/alsa/mixer/paths/analog-output-speaker.conf | 4 2 files changed, 12 insertions(+) diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.

[pulseaudio-discuss] [PATCH 2/4] module-switch-on-port-available: also recognize a port going to unknown

2014-11-16 Thread Sjoerd Simons
In case all other ports went to availability no, a port going to unknown can actually be the best available port so check in that case as well. Specifically this happens when various jacks get unplugged and speakers are left as the available port (unknown availability) *and* the speakers did the no

[pulseaudio-discuss] [PATCH 1/4] Alsa: Correct port availability with multiple jacks

2014-11-16 Thread Sjoerd Simons
In case there are two independent jacks for one port (e.g. Dock Headphone Jack and Headphone Jack), the availability ends up being incorrect if the first one was _NO (not plugged) and the second gets _YES (plugged). Also pulse complains about the state being inconsistent which isn't true. Fix this

[pulseaudio-discuss] [PATCH 0/4] Tweaks to get the X220 dock work just right (v2)

2014-11-16 Thread Sjoerd Simons
s to the code are first and then tweaks to the path configurations. Btw, please keep me cc'd on comments, I don't follow the list very actively. Sjoerd Simons (4): Alsa: Correct port availability with multiple jacks module-switch-on-port-available: also recognize a port going to

Re: [pulseaudio-discuss] [PATCH 5/6] alsa-mixer: Disable line-out if headphone jack is plugged

2014-11-02 Thread Sjoerd Simons
h, in the end, is another heuristic that makes the pulse state match the kernel state... -- Sjoerd Simons ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH 3/6] alsa-mixer: Switch off the Headphone element on the line-out path

2014-11-02 Thread Sjoerd Simons
vel? That's nasty. Any idea why the headphone would keep outputting audio even when muted? -- Sjoerd Simons ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH] Alsa: Correct port availability with multiple jacks

2014-11-02 Thread Sjoerd Simons
On Sun, 2014-11-02 at 20:18 +0200, Tanu Kaskinen wrote: > On Fri, 2014-10-31 at 22:17 +0100, Sjoerd Simons wrote: > > On Tue, 2014-10-28 at 12:10 +0200, Tanu Kaskinen wrote: > > > On Tue, 2014-10-28 at 05:30 +0100, David Henningsson wrote: > > > The use case that this p

Re: [pulseaudio-discuss] [PATCH] Alsa: Correct port availability with multiple jacks

2014-11-02 Thread Sjoerd Simons
e8a392cb921c9 Right X220 + dock falls into the case above, there is a headphone jack on the dock and one on the machine itself. Note that the dock headphone jack is setup by a pin fixup in the kernel. -- Sjoerd Simons ___ pulseaudio-discuss mailing lis

Re: [pulseaudio-discuss] [PATCH] Alsa: Correct port availability with multiple jacks

2014-10-31 Thread Sjoerd Simons
On Tue, 2014-10-28 at 12:10 +0200, Tanu Kaskinen wrote: > On Tue, 2014-10-28 at 05:30 +0100, David Henningsson wrote: > > > > On 2014-10-24 22:33, Sjoerd Simons wrote: > > > In case there are two independent jacks for one port (e.g. Dock > > > Headphone Jack and

[pulseaudio-discuss] [PATCH 2/6] alsa-mixer: Add jack for Dock line-out

2014-10-31 Thread Sjoerd Simons
--- src/modules/alsa/mixer/paths/analog-output-lineout.conf | 8 src/modules/alsa/mixer/paths/analog-output-speaker.conf | 4 2 files changed, 12 insertions(+) diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.

[pulseaudio-discuss] [PATCH 5/6] alsa-mixer: Disable line-out if headphone jack is plugged

2014-10-31 Thread Sjoerd Simons
Line-out gets muted when headphones are plugged in on HDA cards, encode this in the line-out path so pulse can match that state. --- src/modules/alsa/mixer/paths/analog-output-lineout.conf | 4 1 file changed, 4 insertions(+) diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.co

[pulseaudio-discuss] [PATCH 0/6] Tunes to get the X220 dock work just right

2014-10-31 Thread Sjoerd Simons
e included it here for completeness as there is an interdependency. 0: http://www.alsa-project.org/db/?f=75f540e83f869772bea6fd7a0059fd5a29a94811 Sjoerd Simons (6): Alsa: Correct port availability with multiple jacks alsa-mixer: Add jack for Dock line-out alsa-mixer: Switch off the Headphone

[pulseaudio-discuss] [PATCH 3/6] alsa-mixer: Switch off the Headphone element on the line-out path

2014-10-31 Thread Sjoerd Simons
If the Headphone element isn't turned off when switching to line-out (with headphone plugged in) it can keep outputting audio (even though it's mute/zero!?).. So just explicitely turn it off. --- src/modules/alsa/mixer/paths/analog-output-lineout.conf | 7 ++- 1 file changed, 2 insertions(+),

[pulseaudio-discuss] [PATCH 1/6] Alsa: Correct port availability with multiple jacks

2014-10-31 Thread Sjoerd Simons
In case there are two independent jacks for one port (e.g. Dock Headphone Jack and Headphone Jack), the availability ends up being incorrect for one of the first was _NO (not plugged) and the second gets _YES (plugged). Also pulse complains about the state being inconsistent which isn't true. Fix

[pulseaudio-discuss] [PATCH 4/6] alsa-card: Prioritize plugged jacks moving the availability to no

2014-10-31 Thread Sjoerd Simons
When using a jack being plugged in to disable an output (e.g. make line-out become unavailable if headset is plugged in) it should override the available of any other state a jack on that output might have. --- src/modules/alsa/module-alsa-card.c | 5 + 1 file changed, 5 insertions(+) diff --

[pulseaudio-discuss] [PATCH 6/6] module-switch-on-port-available: also recognize a port going to unknown

2014-10-31 Thread Sjoerd Simons
In case all other ports went to availability no, a port going to unknown can actually be the best available port so check in that case as well. Specifically this happens when various jacks get unplugged and speakers are left as the available port (unknown availability) *and* the speakers did the no

Re: [pulseaudio-discuss] [PATCH] Alsa: Correct port availability with multiple jacks

2014-10-31 Thread Sjoerd Simons
On Tue, 2014-10-28 at 12:10 +0200, Tanu Kaskinen wrote: > On Tue, 2014-10-28 at 05:30 +0100, David Henningsson wrote: > > > > On 2014-10-24 22:33, Sjoerd Simons wrote: > > > In case there are two independent jacks for one port (e.g. Dock > > > Headphone Jack and

[pulseaudio-discuss] [PATCH] Alsa: Correct port availability with multiple jacks

2014-10-24 Thread Sjoerd Simons
In case there are two independent jacks for one port (e.g. Dock Headphone Jack and Headphone Jack), the availability ends up being incorrect for one of the first was _NO (not plugged) and the second gets _YES (plugged). Also pulse complains about the state being inconsistent which isn't true. Fix

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: recognize Dock headphone jack

2014-09-01 Thread Sjoerd Simons
On Mon, 2014-09-01 at 10:34 +0800, Raymond Yau wrote: > > > > Recognize the Dock headphone jack in the same way the normal & front > > headphone jacks are detected. > > --- > > src/modules/alsa/mixer/paths/analog-output-headphones.conf | 8 > > src/modules/alsa/mixer/paths/analog-output-s

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: recognize Dock headphone jack

2014-08-31 Thread Sjoerd Simons
On Mon, 2014-09-01 at 07:54 +0200, David Henningsson wrote: > > On 2014-08-31 20:11, Sjoerd Simons wrote: > > Recognize the Dock headphone jack in the same way the normal & front > > headphone jacks are detected. > > Hi Sjoerd, > > The reason "Headphone

[pulseaudio-discuss] [PATCH] alsa-mixer: recognize Dock headphone jack

2014-08-31 Thread Sjoerd Simons
Recognize the Dock headphone jack in the same way the normal & front headphone jacks are detected. --- src/modules/alsa/mixer/paths/analog-output-headphones.conf | 8 src/modules/alsa/mixer/paths/analog-output-speaker.conf| 4 2 files changed, 12 insertions(+) diff --git a/src/m

Re: [pulseaudio-discuss] [PATCH 1/2] allow-passthrough: Add module to allow passthrough streams always go through

2014-05-22 Thread Sjoerd Simons
e passthrough as before). I'm wary about changing the logic when it comes ongoing passthrough streams though as i'm not sure if that will ever work well. 0: Strictly speaking, the first passthrough stream will always get the sink. -- Sjoerd Simons __

[pulseaudio-discuss] [PATCH 2/2] allow-passthrough: Setup sink & formats if not set yet

2014-05-19 Thread Sjoerd Simons
If at the point the module gets notified about the new stream no format & sink have yet been select, select the default ones such that it can be determined if the stream will be using audio passthrough rather than a PCM format. --- src/modules/module-allow-passthrough.c | 22 ++

[pulseaudio-discuss] [PATCH 0/2] New module, allow-passthrough

2014-05-19 Thread Sjoerd Simons
mottes (1): allow-passthrough: Add module to allow passthrough streams always go through Sjoerd Simons (1): allow-passthrough: Setup sink & formats if not set yet src/Makefile.am| 12 +- src/modules/module-allow-passthrough.c | 292 +++

[pulseaudio-discuss] [PATCH 1/2] allow-passthrough: Add module to allow passthrough streams always go through

2014-05-19 Thread Sjoerd Simons
From: Guillaume Desmottes For various use-cases a passthrough stream should have priority over all other streams and get exclusive access to the sink regardless of whether any other streams are playing. An example use-case is ensuring XBMC can successfully start video playback (with passthrough)