Package: pulseaudio / 5.0-13

Metadata

Package Version Patches format
pulseaudio 5.0-13 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 raop Don t use incompatible default sample spec para.patch | (download)

src/modules/raop/module-raop-sink.c | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 [patch] raop: don't use incompatible default sample spec parameters

Since the RAOP sink supports only some formats and channel counts, we
shouldn't blindly use pa_core.default_sample_spec. This patch changes
things so that we default to PA_SAMPLE_S16NE and 2 channels, and only
take the sample rate from pa_core.default_sample_spec.

0002 Use the fixed point speex resampler on ARM.patch | (download)

man/pulse-daemon.conf.5.xml.in | 2 2 + 0 - 0 !
src/daemon/daemon.conf.in | 2 2 + 0 - 0 !
src/pulsecore/core.c | 6 5 + 1 - 0 !
src/pulsecore/resampler.c | 5 5 + 0 - 0 !
4 files changed, 14 insertions(+), 1 deletion(-)

 [patch 2/2] use the fixed point speex resampler on arm

Switch to use the speex fixed point resampler method by default on ARM.
Traditionately there wasn't any standard floating point hardware, so for
those machines it's an obvious choise. On machine using the hardfloat
ABI floating point still isn't an obvious win over integer performance,
it's of equal performance on some machines, but slower on others.

0003 exit with X session.patch | (download)

src/daemon/start-pulseaudio-kde.in | 13 13 + 0 - 0 !
src/daemon/start-pulseaudio-x11.in | 13 13 + 0 - 0 !
2 files changed, 26 insertions(+)

 start-pulseaudio-*: kill pulseaudio daemon when x session ends
0004 dont start when already running.patch | (download)

src/daemon/start-pulseaudio-kde.in | 2 1 + 1 - 0 !
src/daemon/start-pulseaudio-x11.in | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 do not start pulseaudio if it is already running
kfreebsd_no_lock_and_threads_synchro.patch | (download)

src/daemon/main.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 don't try to lock and synchronise threads on kfreebsd.
Bug-Debian: http://bugs.debian.org/705435
only autostart kde version.patch | (download)

src/daemon/pulseaudio.desktop.in | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 sometimes starting 2 pulseaudio daemons breaks kde login, so don't start the generic one when the kde one will start
 This is fixed upstream post 5.0 by not shipping a kde-specific version
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705426
rtp recv fix crash on empty UDP packets CVE 2014 397.patch | (download)

src/modules/rtp/rtp.c | 25 23 + 2 - 0 !
1 file changed, 23 insertions(+), 2 deletions(-)

 [patch] rtp-recv: fix crash on empty udp packets (cve-2014-3970)

On FIONREAD returning 0 bytes, we cannot return success, as the caller
(rtpoll_work_cb in module-rtp-recv.c) would then try to
pa_memblock_unref(chunk.memblock) and, because memblock is NULL, trigger
an assertion.

Also we have to read out the possible empty packet from the socket, so
that the kernel doesn't tell us again and again about it.

Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>

zsh completion Fix completion for default sink sourc.patch | (download)

shell-completion/pulseaudio-zsh-completion.zsh | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] zsh-completion: fix completion for default sink/source


gnu kfreebsd.patch | (download)

src/daemon/caps.c | 2 1 + 1 - 0 !
src/pulsecore/atomic.h | 2 1 + 1 - 0 !
src/pulsecore/sconv_sse.c | 4 2 + 2 - 0 !
src/pulsecore/svolume_mmx.c | 8 4 + 4 - 0 !
src/pulsecore/svolume_sse.c | 8 4 + 4 - 0 !
src/tests/once-test.c | 6 4 + 2 - 0 !
src/tests/rtstutter.c | 6 4 + 2 - 0 !
7 files changed, 20 insertions(+), 16 deletions(-)

---
mix Fix mixing of S24 samples stored as S32RE.patch | (download)

src/pulsecore/mix.c | 2 1 + 1 - 0 !
src/tests/mix-test.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 [patch 1/6] mix: fix mixing of s24 samples stored as s32re

pa_mix_s24_32re_c() should advance m->ptr by sizeof(int32_t)

http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-July/020998.html

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>

tests Cleanup mix test.patch | (download)

src/tests/mix-test.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 [patch 3/6] tests: cleanup mix-test

indentation and use of fabsf() for floats

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>

endianmacros Fix PA_MAYBE_INT16_SWAP macro.patch | (download)

src/pulsecore/endianmacros.h | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 4/6] endianmacros: fix pa_maybe_int16_swap() macro

PA_MAYBE_INT16_SWAP() should call PA_INT16_SWAP(), not PA_INT32_SWAP

PA_MAYBE_INT16_SWAP() is not used (yet), so no big deal :)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>

tests Fix mix test on big endian systems.patch | (download)

src/tests/mix-test.c | 229 54 + 175 - 0 !
1 file changed, 54 insertions(+), 175 deletions(-)

 [patch 5/6] tests: fix mix-test on big-endian systems

the mix test code never worked on big-endian systems

patch saves a lot of duplicate test and uses more logical naming

see
http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-August/021035.html

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Reported-by: Felipe Sateler <fsateler@debian.org>

util Fix pa_get_binary_name on Debian kFreeBSD.patch | (download)

src/pulse/util.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 6/6] util: fix pa_get_binary_name() on debian/kfreebsd

Debian GNU/kFreeBSD uses a FreeBSD kernel and GLIBC,
it #defines __FreeBSD_kernel__, but not __FreeBSD__ nor __linux__
Debian GNU/kFreeBSD does have a /proc/self/exe

FreeBSD #defines __FreeBSD__ and __FreeBSD_kernel__

problem reporte here:
http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-July/020998.html

http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe and
http://stackoverflow.com/questions/933850/how-to-find-the-location-of-the-executable-in-c have some
background info

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>

misc cleanups and bug fixes.patch | (download)

src/.gitignore | 2 2 + 0 - 0 !
src/pulsecore/core-util.c | 28 20 + 8 - 0 !
src/pulsecore/memtrap.c | 3 3 + 0 - 0 !
src/tests/mcalign-test.c | 2 1 + 1 - 0 !
src/tests/sigbus-test.c | 2 2 + 0 - 0 !
5 files changed, 28 insertions(+), 9 deletions(-)

 misc cleanups and bug fixes
 This is a collapse of a few small patches by Peter Meerwald.
 Changes are:
 put *.log and *.trs (which are created by running 'make check') into src/.gitignore
 fix format specifiers, avoid compilation warnings
 fix compilation warning when certain syscalls are not available (e.g. on kFreeBSD)
 add checks for the expected results in sigbus-test
 add SIGSEGV to the memtrap signal handler to make the sigbus-test work on kFreeBSD

util Try finding out application name using dladdr.patch | (download)

configure.ac | 2 2 + 0 - 0 !
src/pulse/util.c | 24 24 + 0 - 0 !
2 files changed, 26 insertions(+)

---
broken PA_FLOAT32_SWAP.patch | (download)

src/pulsecore/endianmacros.h | 23 12 + 11 - 0 !
src/pulsecore/mix.c | 11 4 + 7 - 0 !
src/pulsecore/sample-util.c | 4 2 + 2 - 0 !
src/pulsecore/sconv-s16le.c | 22 8 + 14 - 0 !
src/pulsecore/svolume_c.c | 4 2 + 2 - 0 !
src/tests/mix-test.c | 4 2 + 2 - 0 !
src/tests/resampler-test.c | 4 2 + 2 - 0 !
7 files changed, 32 insertions(+), 40 deletions(-)

 [pulseaudio-discuss] [patch 2/2] endianmacros: replace borked
	PA_FLOAT32_SWAP() with PA_READ_FLOAT32RE() / PA_WRITE_FLOAT32RE()
X-BeenThere: pulseaudio-discuss@lists.freedesktop.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: General PulseAudio Discussion
 <pulseaudio-discuss@lists.freedesktop.org>
List-Id: General PulseAudio Discussion
 <pulseaudio-discuss.lists.freedesktop.org>
List-Unsubscribe: <http://lists.freedesktop.org/mailman/options/pulseaudio-discuss>, 
 <mailto:pulseaudio-discuss-request@lists.freedesktop.org?subject=unsubscribe>
List-Archive: <http://lists.freedesktop.org/archives/pulseaudio-discuss>
List-Post: <mailto:pulseaudio-discuss@lists.freedesktop.org>
List-Help: <mailto:pulseaudio-discuss-request@lists.freedesktop.org?subject=help>
List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss>, 
 <mailto:pulseaudio-discuss-request@lists.freedesktop.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pulseaudio-discuss-bounces@lists.freedesktop.org
Sender: "pulseaudio-discuss" <pulseaudio-discuss-bounces@lists.freedesktop.org>