[pulseaudio-discuss] [PATCH 2/3] man: Install man page symlinks to pacat for paplay, parec, parecord, pamon

2014-11-17 Thread Peter Meerwald
From: Peter Meerwald see https://bugs.freedesktop.org/show_bug.cgi?id=68135 Signed-off-by: Peter Meerwald --- man/Makefile.am | 17 + 1 file changed, 17 insertions(+) diff --git a/man/Makefile.am b/man/Makefile.am index 2fe477f..7dec003 100644 --- a/man/Makefile.am +++ b/man

[pulseaudio-discuss] [PATCH 3/3] pacat: State purpose of program depending how it was invoked

2014-11-17 Thread Peter Meerwald
From: Peter Meerwald see https://bugs.freedesktop.org/show_bug.cgi?id=68135 state purpose of paplay/parec/pamon/parecord/pacat when invoked with -h Signed-off-by: Peter Meerwald --- src/utils/pacat.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/u

[pulseaudio-discuss] [PATCH 1/3] man: Drop separate paplay man page, move info to pacat man page

2014-11-17 Thread Peter Meerwald
From: Peter Meerwald see https://bugs.freedesktop.org/show_bug.cgi?id=68135 pacat and paplay man pages both claim to describe the paplay program (which is actually a symlink to pacat) -- this is inconsistent and redundant, so drop the paplay man page a follow-up patch will add man page symlink

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

2014-11-17 Thread David Henningsson
On 2014-11-16 23:15, Sjoerd Simons wrote: 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

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

2014-11-17 Thread David Henningsson
On 2014-11-16 23:15, Sjoerd Simons wrote: 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 (unkno

Re: [pulseaudio-discuss] [PATCH] build-sys: Deprecate libsamplerate support

2014-11-17 Thread Peter Meerwald
On Tue, 11 Nov 2014, Arun Raghavan wrote: > On 11 Nov 2014 20:19, "Peter Meerwald" wrote: > > > > From: Peter Meerwald > > > > output DEPRECATED warnings for libsamplerate in configure and > > PA daemon's log > > > > libsamplerate offers no particular advantage over the speex > > resampler and i

Re: [pulseaudio-discuss] [PATCH 2/3] alsa: Default to 30% in absence of sink hw volume

2014-11-17 Thread David Henningsson
On 2014-11-16 09:10, Tanu Kaskinen wrote: If a sound card has no hardware volume that we could query when creating a sink, 30% is a better default volume than 100%. 100% is likely to be far too loud. To reiterate Alexander's comment, this highly depends on the type of output. Also, not sure

Re: [pulseaudio-discuss] [PATCH 1/6] macro: Abort() when pa_assert_not_reached() even for NDEBUG

2014-11-17 Thread Peter Meerwald
pushed this series (with Alexanders comments applied) > fixes many warnings when compiling with NDEBUG, such as > CC pulse/libpulse_la-channelmap.lo > pulse/channelmap.c: In function 'pa_channel_map_init_auto': > pulse/channelmap.c:397:1: warning: control reaches end of non-void function

Re: [pulseaudio-discuss] [PATCH] dbus: Fix uninitialized new_active warning

2014-11-17 Thread Peter Meerwald
> modules/dbus/iface-device.c: In function 'handle_set_active_port': > modules/dbus/iface-device.c:765:34: warning: 'new_active' may be used > uninitialized in this function [-Wmaybe-uninitialized] > if ((r = pa_sink_set_port(d->sink, > pa_dbusiface_device_port_get_name(new_active), tru

Re: [pulseaudio-discuss] [PATCH 5/6] alsa-mixer: Use pa_assert_not_reached()

2014-11-17 Thread David Henningsson
Ack On 2014-11-09 17:59, Peter Meerwald wrote: get rid of the following warning when compiling with NDEBUG: modules/alsa/alsa-mixer.c: In function 'element_is_subset': modules/alsa/alsa-mixer.c:3125:18: warning: 'a_limit' may be used uninitialized in this function [-Wmaybe-uninitialized]

Re: [pulseaudio-discuss] [PATCH 6/6] core: Replace assert()s with pa_assert()s

2014-11-17 Thread David Henningsson
Ack On 2014-11-09 17:59, Peter Meerwald wrote: Signed-off-by: Peter Meerwald --- src/modules/echo-cancel/module-echo-cancel.c | 6 +++--- src/modules/module-console-kit.c | 2 +- src/modules/module-solaris.c | 6 +++--- src/pulsecore/memchunk.c

Re: [pulseaudio-discuss] [PATCH 4/6] tests: Use pa_assert_se() to get rid of an used variable warning

2014-11-17 Thread David Henningsson
Ack On 2014-11-09 17:59, Peter Meerwald wrote: when compiled with NDEBUG Signed-off-by: Peter Meerwald --- src/tests/lo-test-util.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/tests/lo-test-util.c b/src/tests/lo-test-util.c index 01eb295..84e8af3 10064

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-17 Thread David Henningsson
On 2014-11-16 16:42, Andrey Semashev wrote: On Friday 14 November 2014 11:37:07 you wrote: On Friday 14 November 2014 08:26:18 David Henningsson wrote: On 2014-11-13 23:49, Andrey Semashev wrote: I do not have an explanation for such diverse range of the delay value, and its dependency on th

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-17 Thread Andrey Semashev
On Monday 17 November 2014 15:09:14 David Henningsson wrote: > > Thanks for the tests. I think I misunderstood delay: I thought of delay > as having 20 ms of zero samples in the beginning, but instead soxr will > refuse to give you any samples out until you have fed it with 20 ms of > samples in.

[pulseaudio-discuss] Applications not using default sink

2014-11-17 Thread Ian Pilcher
I am trying to set up pulseaudio to swap the left and right channels on my wife's system. I have added the following to /etc/pulse/default.pa: load-module module-remap-sink sink_name=reverse-stereo master=0 \ channels=2 master_channel_map=front-right,front-left \ channel_map=front-left,

Re: [pulseaudio-discuss] [PATCH] alsa-util: No logging when sound card only supports non-interleaved sample format

2014-11-17 Thread Raymond Yau
74 2014-11-16 下午8:31 於 "Peter Meerwald" 寫道: > > > > > as suggested by > > >https://bugs.freedesktop.org/show_bug.cgi?id=84804 > > > > > > Signed-off-by: Peter Meerwald > > > --- > > > src/modules/alsa/alsa-util.c | 15 +++ > > > 1 file changed, 15 insertions(+) > > > > > > diff --git