diff options
author | Marc-André Lureau <marc-andre.lureau@nokia.com> | 2009-07-07 18:23:34 +0300 |
---|---|---|
committer | Marc-André Lureau <marc-andre.lureau@nokia.com> | 2009-07-08 17:12:19 +0300 |
commit | 4d576448110c8e8fede277ef87a9f0ad49a393ac (patch) | |
tree | 2c5bbe1b94c237c4a18383d9186494848c22c723 | |
parent | 0d1113afd97faf5a49cb33e815eabe1378039b75 (diff) |
debian: mark BTHS bug as fixed
77 files changed, 226 insertions, 74 deletions
diff --git a/debian/changelog b/debian/changelog index d70028dce..d879b49b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pulseaudio (0.9.15-1maemo18) unstable; urgency=low + + * Fix setting BTHS volume level. Fixes: NB#111167 + + -- Maemo Multimedia <multimedia@maemo.org> Tue, 07 Jul 2009 18:23:09 +0300 + pulseaudio (0.9.15-1maemo17) unstable; urgency=low * Get rid of gdbm usage and crashes. Fixes: NB#120362 diff --git a/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch b/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch index 797a095bf..878decb6c 100644 --- a/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch +++ b/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch @@ -1,7 +1,7 @@ From 3160bb415a042493c83cf7897f97727505299300 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Sat, 4 Apr 2009 22:56:38 +0300 -Subject: [PATCH 01/74] perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'` +Subject: [PATCH 01/75] perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'` --- src/daemon/cpulimit.c | 4 ++-- diff --git a/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch b/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch index 95b67260a..f3b1b9bf3 100644 --- a/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch +++ b/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch @@ -1,7 +1,7 @@ From 18bec537e02248fa5f4cc112f85deb0650da320d Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Sat, 4 Apr 2009 23:19:53 +0300 -Subject: [PATCH 02/74] pulse: move pa_rtclock_now in pulsecommon +Subject: [PATCH 02/75] pulse: move pa_rtclock_now in pulsecommon --- src/Makefile.am | 3 +- diff --git a/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch b/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch index 129297be9..e95ee4f26 100644 --- a/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch +++ b/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch @@ -1,7 +1,7 @@ From c55a4d569891e6778a76059dad23127c7b1dc3ef Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Sun, 5 Apr 2009 02:13:43 +0300 -Subject: [PATCH 03/74] Base mainloop on pa_rtclock_now() +Subject: [PATCH 03/75] Base mainloop on pa_rtclock_now() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit diff --git a/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch b/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch index 0f4e3b871..6386738ca 100644 --- a/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch +++ b/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch @@ -1,7 +1,7 @@ From 69eddaa7b86790a1d6b4fdb49d222b2930a6dbc0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Fri, 1 May 2009 04:14:40 +0200 -Subject: [PATCH 04/74] sample-util: fix iteration loop when adjusting volume of s24 samples +Subject: [PATCH 04/75] sample-util: fix iteration loop when adjusting volume of s24 samples --- src/pulsecore/sample-util.c | 8 ++++---- diff --git a/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch b/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch index 7f9ce1cf9..24c17477a 100644 --- a/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch +++ b/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch @@ -1,7 +1,7 @@ From c1ade7f8605c7bd8b37f82ea4a3ddcd1ba3e1869 Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Fri, 1 May 2009 04:14:02 +0200 -Subject: [PATCH 05/74] sample-util: properly allocate silence block for s24-32 formats +Subject: [PATCH 05/75] sample-util: properly allocate silence block for s24-32 formats --- src/pulsecore/sample-util.c | 4 ++++ diff --git a/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch b/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch index dee2450a5..bafe436c0 100644 --- a/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch +++ b/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch @@ -1,7 +1,7 @@ From f4110904b95b0a6d1a164d2b54aaa69057a11b8f Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Fri, 1 May 2009 04:13:15 +0200 -Subject: [PATCH 06/74] endian: fix LE/BE order for 24 bit accessor functions +Subject: [PATCH 06/75] endian: fix LE/BE order for 24 bit accessor functions --- src/pulsecore/endianmacros.h | 8 ++++---- diff --git a/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch b/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch index 35f9d83cf..135c989e3 100644 --- a/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch +++ b/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch @@ -1,7 +1,7 @@ From baa7eb6df54cc65833171d53463f334f76591680 Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Fri, 1 May 2009 04:12:24 +0200 -Subject: [PATCH 07/74] sample: correctly pass s24-32 formats +Subject: [PATCH 07/75] sample: correctly pass s24-32 formats --- src/pulse/sample.c | 8 ++++---- diff --git a/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch b/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch index d67c52434..4a41f4293 100644 --- a/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch +++ b/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch @@ -1,7 +1,7 @@ From 787a8fa32fa538e842e6d2c482fac231bb01e079 Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Fri, 1 May 2009 04:22:08 +0200 -Subject: [PATCH 08/74] sconv: fix a few minor conversion issues +Subject: [PATCH 08/75] sconv: fix a few minor conversion issues --- src/pulsecore/sconv-s16le.c | 10 +++++----- diff --git a/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch b/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch index a8737bcff..b6a265408 100644 --- a/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch +++ b/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch @@ -1,7 +1,7 @@ From 1da2e807bfd55bed21470cc2148b941dfb105761 Mon Sep 17 00:00:00 2001 From: Jyri Sarha <jyri.sarha@nokia.com> Date: Thu, 7 May 2009 18:41:20 +0300 -Subject: [PATCH 09/74] optimization: Optimized pa_sink_render_full. +Subject: [PATCH 09/75] optimization: Optimized pa_sink_render_full. This is finally the latest version of the patch. --- diff --git a/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch b/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch index f459e5568..b016a1b3e 100644 --- a/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch +++ b/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch @@ -1,7 +1,7 @@ From 0d6d6d3d9a45a2ed9686c3e03bb2d2aa2c2c0278 Mon Sep 17 00:00:00 2001 From: Jyri Sarha <jyri.sarha@nokia.com> Date: Thu, 7 May 2009 19:55:57 +0300 -Subject: [PATCH 10/74] core: Take samples from silence cache rather than write zeros +Subject: [PATCH 10/75] core: Take samples from silence cache rather than write zeros If the only stream to render from is muted take samples from the silence cache. This should shrink memory/cache bandwidth. Again the diff --git a/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch b/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch index 1d925d9d7..4a5abb3cf 100644 --- a/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch +++ b/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch @@ -1,7 +1,7 @@ From 4d1a3e64d8fbebc32180319da43feed1c1eda92e Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 12 May 2009 01:39:55 +0300 -Subject: [PATCH 11/74] context: don't fail if session bus is not there +Subject: [PATCH 11/75] context: don't fail if session bus is not there Also invert the order of bus tracking since we expect session_bus to be present when we check for it. Although that should not change diff --git a/debian/patches/0012-blueototh-make-auto-connect-optional.patch b/debian/patches/0012-blueototh-make-auto-connect-optional.patch index 6c14adb96..6da52f771 100644 --- a/debian/patches/0012-blueototh-make-auto-connect-optional.patch +++ b/debian/patches/0012-blueototh-make-auto-connect-optional.patch @@ -1,7 +1,7 @@ From e294762b93a53ca1823f6b39c1ef6e2ed9d7ba0a Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Wed, 13 May 2009 22:46:50 +0300 -Subject: [PATCH 12/74] blueototh: make auto-connect optional +Subject: [PATCH 12/75] blueototh: make auto-connect optional --- src/modules/bluetooth/module-bluetooth-device.c | 19 ++++++++++++++++++- diff --git a/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch b/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch index 83c8df82b..cb8ec24b8 100644 --- a/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch +++ b/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch @@ -1,7 +1,7 @@ From b79dab7f52d880968bf48cf7b1b8bf94b867d17e Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Fri, 22 May 2009 01:30:54 +0200 -Subject: [PATCH 13/74] volume: change pa_volume_t mapping to cubic +Subject: [PATCH 13/75] volume: change pa_volume_t mapping to cubic --- src/pulse/volume.c | 42 ++++++++++++++++++++++++++++++------------ diff --git a/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch b/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch index f3ec1bded..5b6af2931 100644 --- a/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch +++ b/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch @@ -1,7 +1,7 @@ From 670c6f5a84c6e2862e2ae2953b17610e3a50ad66 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 25 May 2009 18:22:16 +0300 -Subject: [PATCH 14/74] bluetooth: use sco_sink/source to start with right state +Subject: [PATCH 14/75] bluetooth: use sco_sink/source to start with right state --- src/modules/bluetooth/module-bluetooth-device.c | 34 +++++++++++++++-------- diff --git a/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch b/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch index 752e115f1..d8a6e0a6e 100644 --- a/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch +++ b/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch @@ -1,7 +1,7 @@ From f04ae4e1b71b1cbd64df0305ac7d0739c7b2e95a Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Sat, 4 Apr 2009 17:56:36 +0300 -Subject: [PATCH 15/74] bluetoth-device: be less strict on CONNECTED state to switch profile +Subject: [PATCH 15/75] bluetoth-device: be less strict on CONNECTED state to switch profile --- src/modules/bluetooth/module-bluetooth-device.c | 9 +++++++-- diff --git a/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch b/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch index 2ad39efc9..cbb24a930 100644 --- a/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch +++ b/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch @@ -1,7 +1,7 @@ From 236eb2ace05dda6c348d2f1cc521deaa6e991abc Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Tue, 4 Nov 2008 16:47:09 +0200 -Subject: [PATCH 16/74] interpol-test: remove unused include getopt.h +Subject: [PATCH 16/75] interpol-test: remove unused include getopt.h --- src/tests/interpol-test.c | 1 - diff --git a/debian/patches/0017-tests-improve-resampler-test.patch b/debian/patches/0017-tests-improve-resampler-test.patch index 734544fac..3d9e52220 100644 --- a/debian/patches/0017-tests-improve-resampler-test.patch +++ b/debian/patches/0017-tests-improve-resampler-test.patch @@ -1,7 +1,7 @@ From a6ece38a902578fb5e7c908c59ff5866235c72a5 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Wed, 5 Nov 2008 00:24:37 +0200 -Subject: [PATCH 17/74] tests: improve resampler test +Subject: [PATCH 17/75] tests: improve resampler test --- src/tests/resampler-test.c | 202 +++++++++++++++++++++++++++++++++++++++++-- diff --git a/debian/patches/0018-resample-fix-rtclock-and-style.patch b/debian/patches/0018-resample-fix-rtclock-and-style.patch index 867b93d7d..b9b2f340a 100644 --- a/debian/patches/0018-resample-fix-rtclock-and-style.patch +++ b/debian/patches/0018-resample-fix-rtclock-and-style.patch @@ -1,7 +1,7 @@ From c91ca053ba2f821355e029e3f7c7255a1548578c Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Fri, 29 May 2009 15:56:24 +0300 -Subject: [PATCH 18/74] resample: fix rtclock and style +Subject: [PATCH 18/75] resample: fix rtclock and style --- src/tests/resampler-test.c | 15 ++++++++------- diff --git a/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch b/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch index b75ddfaa2..066e4f395 100644 --- a/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch +++ b/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch @@ -1,7 +1,7 @@ From 24c6215fc9d5a413f777ecd9631a6afc9586b09b Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 16:33:36 +0200 -Subject: [PATCH 19/74] pulsecore: add an optional origin_sink on sink_input +Subject: [PATCH 19/75] pulsecore: add an optional origin_sink on sink_input --- src/pulsecore/sink-input.c | 1 + diff --git a/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch b/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch index 787978353..d2f506ef8 100644 --- a/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch +++ b/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch @@ -1,7 +1,7 @@ From ba827476bc6e0fc2d80cb4761b670dac853ccc38 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 17:07:35 +0200 -Subject: [PATCH 20/74] pulsecore: add flat_volume_sink and forward set_volume to it +Subject: [PATCH 20/75] pulsecore: add flat_volume_sink and forward set_volume to it --- src/pulsecore/sink.c | 47 ++++++++++++++++++++++++++++++++--------------- diff --git a/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch b/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch index 672dc6812..65e73d931 100644 --- a/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch +++ b/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch @@ -1,7 +1,7 @@ From 71a5498c034c57f27eba1ba0e0cdbc57d7372783 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 17:13:17 +0200 -Subject: [PATCH 21/74] pulsecore: get_maximum_input_volume recursively +Subject: [PATCH 21/75] pulsecore: get_maximum_input_volume recursively --- src/pulsecore/sink.c | 40 +++++++++++++++++++++++++++++----------- diff --git a/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch b/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch index 66a1e9008..d0c4aa3a6 100644 --- a/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch +++ b/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch @@ -1,7 +1,7 @@ From 4f3cb7240206c16d44d8f417222a2795d88562ab Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 17:22:11 +0200 -Subject: [PATCH 22/74] pulsecore: go recursively when updating s-i flat-volume +Subject: [PATCH 22/75] pulsecore: go recursively when updating s-i flat-volume --- src/pulsecore/sink.c | 44 ++++++++++++++++++++++++++++++-------------- diff --git a/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch b/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch index 2e30775b0..b06d7c6d8 100644 --- a/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch +++ b/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch @@ -1,7 +1,7 @@ From d05d443a084a9a0b34d77cea8af101abd5f57b03 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 17:43:55 +0200 -Subject: [PATCH 23/74] pulsecore: propagate flat-vol recursively +Subject: [PATCH 23/75] pulsecore: propagate flat-vol recursively --- src/pulsecore/sink.c | 35 +++++++++++++++++++++++------------ diff --git a/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch b/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch index 16b0aabdd..31aafec85 100644 --- a/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch +++ b/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch @@ -1,7 +1,7 @@ From f77bcee53f556fdf41c2d4405f231d612af62ae5 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 18:01:44 +0200 -Subject: [PATCH 24/74] pulsecore: forward flat_volume functions to flat_volume_sink +Subject: [PATCH 24/75] pulsecore: forward flat_volume functions to flat_volume_sink btw, pa_sink_propagate_flat_volume() could be static... in that case, we could make sure it's not called with a slaved sink. diff --git a/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch b/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch index 69f6aa534..270fc2494 100644 --- a/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch +++ b/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch @@ -1,7 +1,7 @@ From d66247765c17de69f857a54abb66a0d2679b9973 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 20:08:34 +0200 -Subject: [PATCH 25/74] pulsecore: intermediate s-i soft_vol is 0dB +Subject: [PATCH 25/75] pulsecore: intermediate s-i soft_vol is 0dB --- src/pulsecore/sink-input.c | 2 ++ diff --git a/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch b/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch index 77b047cf3..5b037f39f 100644 --- a/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch +++ b/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch @@ -1,7 +1,7 @@ From ba9a3b553e6099ebba6185edad28b7147e70b212 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 20:08:59 +0200 -Subject: [PATCH 26/74] pulsecore: notify flatten upstream slaved sink of volume change +Subject: [PATCH 26/75] pulsecore: notify flatten upstream slaved sink of volume change --- src/pulsecore/sink.c | 26 +++++++++++++++++++++++++- diff --git a/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch b/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch index da248c4cc..f99ebbbb9 100644 --- a/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch +++ b/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch @@ -1,7 +1,7 @@ From dfef1b1c8601c4b42d739ae2ec164fba2560eb49 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 10 Mar 2009 22:44:34 +0200 -Subject: [PATCH 27/74] pulsecore: do not consider intermediate s-i in flat-vol +Subject: [PATCH 27/75] pulsecore: do not consider intermediate s-i in flat-vol --- src/pulsecore/sink.c | 33 ++++++++++++++++++++++++++------- diff --git a/debian/patches/0028-remap-flat-remap-sink-volume.patch b/debian/patches/0028-remap-flat-remap-sink-volume.patch index 412077cfa..e5a9bd739 100644 --- a/debian/patches/0028-remap-flat-remap-sink-volume.patch +++ b/debian/patches/0028-remap-flat-remap-sink-volume.patch @@ -1,7 +1,7 @@ From 4faa8e49fad8ae4ca87f695137676cae5117580f Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Wed, 11 Mar 2009 20:14:49 +0200 -Subject: [PATCH 28/74] remap: flat remap sink volume +Subject: [PATCH 28/75] remap: flat remap sink volume --- src/modules/module-remap-sink.c | 3 +++ diff --git a/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch b/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch index e619ca208..db2b78083 100644 --- a/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch +++ b/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch @@ -1,7 +1,7 @@ From d7b19ebb698870ac9cc9b43d7a11e5cfe2c02c53 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Thu, 7 May 2009 15:50:17 +0300 -Subject: [PATCH 29/74] stream-restore: extend ext-stream-restore +Subject: [PATCH 29/75] stream-restore: extend ext-stream-restore This time, the patch introduces new functions using a struct pa_ext_stream_restore2_info. diff --git a/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch b/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch index d861dddb1..5475bd5d2 100644 --- a/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch +++ b/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch @@ -1,7 +1,7 @@ From e1f9fb8df7f747ed90f72758f4a5cb430cdb3918 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Thu, 7 May 2009 17:07:37 +0300 -Subject: [PATCH 30/74] stream-restore: add volume_is_absolute bool in server side +Subject: [PATCH 30/75] stream-restore: add volume_is_absolute bool in server side --- configure.ac | 2 +- diff --git a/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch b/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch index b4470a2cf..786fc2b69 100644 --- a/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch +++ b/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch @@ -1,7 +1,7 @@ From 2522efced262e752ef7def8a2f6d6fe1f871e6b8 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 11 May 2009 17:00:23 +0300 -Subject: [PATCH 31/74] protocol-native: add "ext_supported" to install_ext() +Subject: [PATCH 31/75] protocol-native: add "ext_supported" to install_ext() In order to support different extensions versions in the same module, it introduces an array of supported extension strings. They are free diff --git a/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch b/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch index e5c5d9e4d..17e24a9fd 100644 --- a/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch +++ b/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch @@ -1,7 +1,7 @@ From d620078de440452eb7fcf2ce130636e76a1f30c2 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 11 May 2009 21:54:10 +0300 -Subject: [PATCH 32/74] native-protocol: send supported extensions in client & server +Subject: [PATCH 32/75] native-protocol: send supported extensions in client & server The client will send a list of extension-id along with SET_NAME. --- diff --git a/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch b/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch index 37f10820c..2badbdc5e 100644 --- a/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch +++ b/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch @@ -1,7 +1,7 @@ From 08903f06f5a0de4ddc344481c21f39661dbfa136 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Wed, 13 May 2009 21:11:52 +0300 -Subject: [PATCH 33/74] match: don't double free in case of missing table file +Subject: [PATCH 33/75] match: don't double free in case of missing table file --- src/modules/module-match.c | 1 - diff --git a/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch b/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch index 925735f36..d706c1ad9 100644 --- a/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch +++ b/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch @@ -1,7 +1,7 @@ From ea035c7695cda6ce47901ece500bbbb308c4c0a1 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Wed, 13 May 2009 21:32:03 +0300 -Subject: [PATCH 34/74] match: match rule earlier, in SINK_INPUT_NEW +Subject: [PATCH 34/75] match: match rule earlier, in SINK_INPUT_NEW --- src/modules/module-match.c | 30 +++++++++++------------------- diff --git a/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch b/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch index 312afe78a..7636e8c22 100644 --- a/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch +++ b/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch @@ -1,7 +1,7 @@ From f7df7399497118cbfb6a6035daa1315068b1e17a Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Fri, 15 May 2009 17:24:54 +0300 -Subject: [PATCH 35/74] stream-restore: simple fallback volume table +Subject: [PATCH 35/75] stream-restore: simple fallback volume table --- src/modules/module-stream-restore.c | 94 ++++++++++++++++++++++++++++++++++- diff --git a/debian/patches/0036-stream-restore-some-misc-fixes.patch b/debian/patches/0036-stream-restore-some-misc-fixes.patch index a3975d599..bdb29bcbe 100644 --- a/debian/patches/0036-stream-restore-some-misc-fixes.patch +++ b/debian/patches/0036-stream-restore-some-misc-fixes.patch @@ -1,7 +1,7 @@ From 2485db27a63d3ef6543fe0fb50975fb703c200dc Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Thu, 21 May 2009 17:38:17 +0300 -Subject: [PATCH 36/74] stream-restore: some misc fixes +Subject: [PATCH 36/75] stream-restore: some misc fixes Explicitely subscribe to CHANGE events on s-i & s-o. Keep rules in sync by saving them by default. diff --git a/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch b/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch index cb5b87192..1f469dc29 100644 --- a/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch +++ b/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch @@ -1,7 +1,7 @@ From f3e454031097e16fd952ddbc979d585ecd69b752 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Wed, 22 Apr 2009 15:42:35 +0300 -Subject: [PATCH 37/74] bluetooth: reset u->{sink,source} to NULL when SCO over PCM fails +Subject: [PATCH 37/75] bluetooth: reset u->{sink,source} to NULL when SCO over PCM fails --- src/modules/bluetooth/module-bluetooth-device.c | 5 ++++- diff --git a/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch b/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch index a0d5af0e1..5507cbd13 100644 --- a/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch +++ b/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch @@ -1,7 +1,7 @@ From f7bd6ce2a684a3ec6158ee0990587bd4b3b6deda Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 12 May 2009 01:48:05 +0300 -Subject: [PATCH 38/74] suspend-on-idle: add per-device timeout property +Subject: [PATCH 38/75] suspend-on-idle: add per-device timeout property --- src/modules/module-suspend-on-idle.c | 15 ++++++++++++--- diff --git a/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch b/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch index 166a4e1cc..0e9ae68c9 100644 --- a/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch +++ b/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch @@ -1,7 +1,7 @@ From 5b4b108d159304081ccf97994382741cecc212d0 Mon Sep 17 00:00:00 2001 From: CJ van den Berg <cj@vdbonline.com> Date: Wed, 31 Oct 2007 13:59:31 +0100 -Subject: [PATCH 39/74] Set ESD socket to /tmp/.esd/socket to match up with libesd +Subject: [PATCH 39/75] Set ESD socket to /tmp/.esd/socket to match up with libesd --- src/daemon/default.pa.in | 2 +- diff --git a/debian/patches/0040-module-new-null-source-module.patch b/debian/patches/0040-module-new-null-source-module.patch index 831ccf34e..a2846e4a3 100644 --- a/debian/patches/0040-module-new-null-source-module.patch +++ b/debian/patches/0040-module-new-null-source-module.patch @@ -1,7 +1,7 @@ From 9661fe55454d17aca5821234b40c504afe6abd71 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Thu, 4 Dec 2008 18:02:21 +0200 -Subject: [PATCH 40/74] module: new null-source module +Subject: [PATCH 40/75] module: new null-source module --- src/Makefile.am | 6 + diff --git a/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch b/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch index f873aa112..39f809e7b 100644 --- a/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch +++ b/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch @@ -1,7 +1,7 @@ From 6c48b3714e67e3a8b4a365138e44bc6b0fce3c17 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Thu, 11 Dec 2008 22:05:31 +0200 -Subject: [PATCH 41/74] build: install pulse tests under $(libexecdir)/pulse-tests (Nokia specific) +Subject: [PATCH 41/75] build: install pulse tests under $(libexecdir)/pulse-tests (Nokia specific) --- src/Makefile.am | 11 ++++++----- diff --git a/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch b/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch index 8df6a0e54..ec6cf2980 100644 --- a/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch +++ b/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch @@ -1,7 +1,7 @@ From 0e1337a3a72c936fe629387982ea58e026b2071a Mon Sep 17 00:00:00 2001 From: Ismo Puustinen <ismo.h.puustinen@nokia.com> Date: Tue, 30 Sep 2008 18:45:55 +0300 -Subject: [PATCH 42/74] build: add pulsecore.pc (Nokia specific) +Subject: [PATCH 42/75] build: add pulsecore.pc (Nokia specific) Original patch updated for 0.9.14 with pulse/pulsecore/pulsecommon. --- diff --git a/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch b/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch index 48815122d..cbd3f424a 100644 --- a/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch +++ b/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch @@ -1,7 +1,7 @@ From 21c566c10998410c98275595f9324bd33406b262 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Fri, 9 Jan 2009 16:59:05 +0200 -Subject: [PATCH 43/74] build: add pulsecore install-hook (Nokia specific) +Subject: [PATCH 43/75] build: add pulsecore install-hook (Nokia specific) --- src/Makefile.am | 7 +++++++ diff --git a/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch b/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch index 4982e7c3f..6c532e670 100644 --- a/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch +++ b/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch @@ -1,7 +1,7 @@ From e047eb94c394fd421f8295ac5fbdf0666e00ad60 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Thu, 11 Dec 2008 17:09:11 +0200 -Subject: [PATCH 44/74] build: libtool fails to link module's library during build time (Nokia specific) +Subject: [PATCH 44/75] build: libtool fails to link module's library during build time (Nokia specific) --- src/Makefile.am | 2 +- diff --git a/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch b/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch index e5b450d86..86005c073 100644 --- a/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch +++ b/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch @@ -1,7 +1,7 @@ From 025b3f96b3b45e8e83d6c595c3fdd3def94da330 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Wed, 7 Jan 2009 18:18:26 +0200 -Subject: [PATCH 45/74] build: fix build on scratchbox with rpath +Subject: [PATCH 45/75] build: fix build on scratchbox with rpath X11 depends on libraries that are not listed during link. Those libraries symbol fail to be found, because -rpath seems to override diff --git a/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch b/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch index ce4aa7c50..4fcdfe316 100644 --- a/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch +++ b/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch @@ -1,7 +1,7 @@ From 02969e3c123853faf608a0f5c869f260400910e5 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Wed, 18 Feb 2009 16:21:34 +0200 -Subject: [PATCH 46/74] pulsecore: Lower pool to 16MB max (Nokia specific) +Subject: [PATCH 46/75] pulsecore: Lower pool to 16MB max (Nokia specific) --- src/pulsecore/memblock.c | 2 +- diff --git a/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch b/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch index 25e1fa0e8..8a79cc032 100644 --- a/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch +++ b/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch @@ -1,7 +1,7 @@ From b9e874b497048fd3cbbcbc655210ebe6558a872c Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 2 Mar 2009 15:58:53 +0200 -Subject: [PATCH 47/74] pulsecore: add eventfd wrapper +Subject: [PATCH 47/75] pulsecore: add eventfd wrapper --- src/Makefile.am | 1 + diff --git a/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch b/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch index 753ba3961..b1cdf97b1 100644 --- a/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch +++ b/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch @@ -1,7 +1,7 @@ From 5b6a18bae6b96d7e13d83f0341bc5866fafc87dc Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 16 Mar 2009 20:03:33 +0200 -Subject: [PATCH 48/74] pulsecore: use MOVE_FAIL before destroying all streams +Subject: [PATCH 48/75] pulsecore: use MOVE_FAIL before destroying all streams --- src/pulsecore/sink.c | 4 ++++ diff --git a/debian/patches/0049-cli-text-print-internal-volume-for-debugging-purpose.patch b/debian/patches/0049-cli-text-print-internal-volume-for-debugging-purpose.patch index 9bce79edb..8dbe1c070 100644 --- a/debian/patches/0049-cli-text-print-internal-volume-for-debugging-purpose.patch +++ b/debian/patches/0049-cli-text-print-internal-volume-for-debugging-purpose.patch @@ -1,7 +1,7 @@ From 860cd6f0f29494c2cb1efcb740e28c6e40e364af Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Sat, 4 Apr 2009 14:47:30 +0300 -Subject: [PATCH 49/74] cli-text: print internal volume for debugging purposes +Subject: [PATCH 49/75] cli-text: print internal volume for debugging purposes --- src/pulsecore/cli-text.c | 8 ++++++++ diff --git a/debian/patches/0050-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch b/debian/patches/0050-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch index 81f7b52bb..b1b731f81 100644 --- a/debian/patches/0050-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch +++ b/debian/patches/0050-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch @@ -1,7 +1,7 @@ From 0aeac53ec70407a3815992887ae907a31462e1ea Mon Sep 17 00:00:00 2001 From: Jyri Sarha <jyri.sarha@nokia.com> Date: Fri, 5 Jun 2009 17:20:36 +0300 -Subject: [PATCH 50/74] pulsecore: Send PA_SINK_MESSAGE_SYNC_VOLUMES always after flat volume recalculations to all collapsed sinks. +Subject: [PATCH 50/75] pulsecore: Send PA_SINK_MESSAGE_SYNC_VOLUMES always after flat volume recalculations to all collapsed sinks. --- src/pulsecore/sink.c | 1 + diff --git a/debian/patches/0051-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch b/debian/patches/0051-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch index ec5bab6ca..a121b921f 100644 --- a/debian/patches/0051-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch +++ b/debian/patches/0051-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch @@ -1,7 +1,7 @@ From 1fc104eb222b8517b03c66b67fc11746be83376a Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Mon, 8 Jun 2009 00:02:15 +0200 -Subject: [PATCH 51/74] core: make sure soft mute status stays in sync with hw mute status +Subject: [PATCH 51/75] core: make sure soft mute status stays in sync with hw mute status This should close rhbz #494851, mandriva bz #51234. diff --git a/debian/patches/0052-flat-sink-reset-relative-volume-to-1.0.patch b/debian/patches/0052-flat-sink-reset-relative-volume-to-1.0.patch index 5b6221e39..ec8ac008b 100644 --- a/debian/patches/0052-flat-sink-reset-relative-volume-to-1.0.patch +++ b/debian/patches/0052-flat-sink-reset-relative-volume-to-1.0.patch @@ -1,7 +1,7 @@ From fa6d2d2d679935c32b95415495d40099ec6de560 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Fri, 12 Jun 2009 20:06:04 +0300 -Subject: [PATCH 52/74] flat-sink: reset relative volume to 1.0 +Subject: [PATCH 52/75] flat-sink: reset relative volume to 1.0 Because we skip compute_soft_volume(), there is no chance relative_volume[] is properly set. It remains at 0 all the time. diff --git a/debian/patches/0053-alsa-sink-volume-a-complex-mixer-module.patch b/debian/patches/0053-alsa-sink-volume-a-complex-mixer-module.patch index 53870bc09..dee02de06 100644 --- a/debian/patches/0053-alsa-sink-volume-a-complex-mixer-module.patch +++ b/debian/patches/0053-alsa-sink-volume-a-complex-mixer-module.patch @@ -1,7 +1,7 @@ From b561f3afea6ffaa7011d34bbede8c9521549ba7d Mon Sep 17 00:00:00 2001 From: Maemo Multimedia <multimedia@maemo.org> Date: Fri, 17 Apr 2009 17:09:01 +0300 -Subject: [PATCH 53/74] alsa: sink-volume, a complex mixer module +Subject: [PATCH 53/75] alsa: sink-volume, a complex mixer module --- src/Makefile.am | 9 + diff --git a/debian/patches/0054-bluetooth-device-Add-safe-guard-against-BT-streaming.patch b/debian/patches/0054-bluetooth-device-Add-safe-guard-against-BT-streaming.patch index 9a2273d82..867bc6be7 100644 --- a/debian/patches/0054-bluetooth-device-Add-safe-guard-against-BT-streaming.patch +++ b/debian/patches/0054-bluetooth-device-Add-safe-guard-against-BT-streaming.patch @@ -1,7 +1,7 @@ From 40a107c3558aa053b617d65d13c77b3c5ce9419f Mon Sep 17 00:00:00 2001 From: Jyri Sarha <jyri.sarha@nokia.com> Date: Fri, 8 May 2009 13:25:21 +0300 -Subject: [PATCH 54/74] bluetooth-device: Add safe guard against BT streaming irregularities. +Subject: [PATCH 54/75] bluetooth-device: Add safe guard against BT streaming irregularities. Some bad quality BT-headsets block bluez socket sometimes for hundreds of milliseconds, especially when changing mode. When the module tries diff --git a/debian/patches/0055-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch b/debian/patches/0055-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch index 57316867d..e109e114e 100644 --- a/debian/patches/0055-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch +++ b/debian/patches/0055-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch @@ -1,7 +1,7 @@ From 382ac517f4781af95c2bc2071f91de7201bfe7dd Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Wed, 1 Jul 2009 13:11:33 +0300 -Subject: [PATCH 55/74] bluetooth: warn on EAGAIN after POLLOUT +Subject: [PATCH 55/75] bluetooth: warn on EAGAIN after POLLOUT --- src/modules/bluetooth/module-bluetooth-device.c | 3 +++ diff --git a/debian/patches/0056-bluetooth-drop-data-every-500ms-on-oor-condition.patch b/debian/patches/0056-bluetooth-drop-data-every-500ms-on-oor-condition.patch index b4a74cb5c..8b830a2da 100644 --- a/debian/patches/0056-bluetooth-drop-data-every-500ms-on-oor-condition.patch +++ b/debian/patches/0056-bluetooth-drop-data-every-500ms-on-oor-condition.patch @@ -1,7 +1,7 @@ From c877e9800df2af9bc2aec90ac07ce91eaa750aad Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Wed, 1 Jul 2009 13:11:59 +0300 -Subject: [PATCH 56/74] bluetooth: drop data every 500ms on oor condition +Subject: [PATCH 56/75] bluetooth: drop data every 500ms on oor condition --- src/modules/bluetooth/module-bluetooth-device.c | 23 +++++++++++++---------- diff --git a/debian/patches/0057-bluetooth-don-t-connect-on-unconnected-profile.patch b/debian/patches/0057-bluetooth-don-t-connect-on-unconnected-profile.patch index fb5665040..b0834ddf4 100644 --- a/debian/patches/0057-bluetooth-don-t-connect-on-unconnected-profile.patch +++ b/debian/patches/0057-bluetooth-don-t-connect-on-unconnected-profile.patch @@ -1,7 +1,7 @@ From 685e53819058dec1038de6ded898c05a115c2685 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Mon, 29 Jun 2009 17:46:30 +0300 -Subject: [PATCH 57/74] bluetooth: don't connect on unconnected profile +Subject: [PATCH 57/75] bluetooth: don't connect on unconnected profile --- src/modules/bluetooth/module-bluetooth-device.c | 9 +++++++++ diff --git a/debian/patches/0058-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch b/debian/patches/0058-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch index 7ff543b82..d2ed13ecc 100644 --- a/debian/patches/0058-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch +++ b/debian/patches/0058-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch @@ -1,7 +1,7 @@ From b02cfcceadde14421545aeac895011cec4547e81 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 6 Jul 2009 17:50:51 +0300 -Subject: [PATCH 58/74] bluetooth: don't call pa_sink_render with 0 bytes request +Subject: [PATCH 58/75] bluetooth: don't call pa_sink_render with 0 bytes request --- src/modules/bluetooth/module-bluetooth-device.c | 17 ++++++++++------- diff --git a/debian/patches/0059-alsa-port-the-old-alsa-modules.patch b/debian/patches/0059-alsa-port-the-old-alsa-modules.patch index c8276ab14..e8fdae6fe 100644 --- a/debian/patches/0059-alsa-port-the-old-alsa-modules.patch +++ b/debian/patches/0059-alsa-port-the-old-alsa-modules.patch @@ -1,7 +1,7 @@ From a012c5af27d1c79a38b4899052a33f41877eea5d Mon Sep 17 00:00:00 2001 From: Maemo Multimedia <multimedia@maemo.org> Date: Fri, 17 Apr 2009 17:08:35 +0300 -Subject: [PATCH 59/74] alsa: port the old alsa modules +Subject: [PATCH 59/75] alsa: port the old alsa modules alsa-old: start as suspended diff --git a/debian/patches/0060-stream-restore-maemo-route-restore-hack.patch b/debian/patches/0060-stream-restore-maemo-route-restore-hack.patch index 4ccf50e85..3b497ef07 100644 --- a/debian/patches/0060-stream-restore-maemo-route-restore-hack.patch +++ b/debian/patches/0060-stream-restore-maemo-route-restore-hack.patch @@ -1,7 +1,7 @@ From efb81780c1cda18fee4c782b07aa281f04e263d9 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com> Date: Thu, 21 May 2009 19:32:58 +0300 -Subject: [PATCH 60/74] stream-restore: maemo route restore hack +Subject: [PATCH 60/75] stream-restore: maemo route restore hack --- src/modules/module-stream-restore.c | 243 ++++++++++++++++++++++++++++++++--- diff --git a/debian/patches/0061-stream-restore-make-route-volume-optional.patch b/debian/patches/0061-stream-restore-make-route-volume-optional.patch index 1401ce443..c4afea7c6 100644 --- a/debian/patches/0061-stream-restore-make-route-volume-optional.patch +++ b/debian/patches/0061-stream-restore-make-route-volume-optional.patch @@ -1,7 +1,7 @@ From 5050b381810c9a9e5a464cf1cda8935a9155117e Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 2 Jun 2009 18:20:00 +0300 -Subject: [PATCH 61/74] stream-restore: make route volume optional +Subject: [PATCH 61/75] stream-restore: make route volume optional --- src/modules/module-stream-restore.c | 13 ++++++++++--- diff --git a/debian/patches/0062-stream-restore-workaroung-moving-stream-volume-resto.patch b/debian/patches/0062-stream-restore-workaroung-moving-stream-volume-resto.patch index 063360ad5..c9b743719 100644 --- a/debian/patches/0062-stream-restore-workaroung-moving-stream-volume-resto.patch +++ b/debian/patches/0062-stream-restore-workaroung-moving-stream-volume-resto.patch @@ -1,7 +1,7 @@ From bb883427a9d1f2b4e9307239c46bbbf4d97f1e15 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 23 Jun 2009 15:52:37 +0300 -Subject: [PATCH 62/74] stream-restore: workaroung moving stream volume restore +Subject: [PATCH 62/75] stream-restore: workaroung moving stream volume restore --- src/modules/module-stream-restore.c | 8 +++++++- diff --git a/debian/patches/0063-stream-restore-don-t-override-volume-entry-when-appl.patch b/debian/patches/0063-stream-restore-don-t-override-volume-entry-when-appl.patch index 05d32d934..7e33fdd8a 100644 --- a/debian/patches/0063-stream-restore-don-t-override-volume-entry-when-appl.patch +++ b/debian/patches/0063-stream-restore-don-t-override-volume-entry-when-appl.patch @@ -1,7 +1,7 @@ From 89397b1024f173c6bde6818f7ebec9c409c60e8d Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 23 Jun 2009 19:38:55 +0300 -Subject: [PATCH 63/74] stream-restore: don't override volume entry, when applied to different channel maps +Subject: [PATCH 63/75] stream-restore: don't override volume entry, when applied to different channel maps --- src/modules/module-stream-restore.c | 7 +++++-- diff --git a/debian/patches/0064-stream-restore-initialize-userdata-to-0.patch b/debian/patches/0064-stream-restore-initialize-userdata-to-0.patch index 254cf83d9..344d7bbdf 100644 --- a/debian/patches/0064-stream-restore-initialize-userdata-to-0.patch +++ b/debian/patches/0064-stream-restore-initialize-userdata-to-0.patch @@ -1,7 +1,7 @@ From 8f2d404e0cb3f6f3da98c235af16117b9feccf81 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Thu, 25 Jun 2009 13:13:43 +0300 -Subject: [PATCH 64/74] stream-restore: initialize userdata to 0 +Subject: [PATCH 64/75] stream-restore: initialize userdata to 0 This avoid crash when unloading and some slots are != NULL --- diff --git a/debian/patches/0065-database-simple-pa_database-implementation.patch b/debian/patches/0065-database-simple-pa_database-implementation.patch index 4d959653b..42136a160 100644 --- a/debian/patches/0065-database-simple-pa_database-implementation.patch +++ b/debian/patches/0065-database-simple-pa_database-implementation.patch @@ -1,7 +1,7 @@ From 4f62235e6db859b16d194c33928216dcab52b2cf Mon Sep 17 00:00:00 2001 From: Juho Hamalainen <jusa@IT-W1767.(none)> Date: Fri, 3 Jul 2009 11:38:08 +0300 -Subject: [PATCH 65/74] database: simple pa_database implementation +Subject: [PATCH 65/75] database: simple pa_database implementation --- src/Makefile.am | 5 +- diff --git a/debian/patches/0066-stream-restore-modify-to-use-pa_database.patch b/debian/patches/0066-stream-restore-modify-to-use-pa_database.patch index ebacc4cb5..0ce8cbf76 100644 --- a/debian/patches/0066-stream-restore-modify-to-use-pa_database.patch +++ b/debian/patches/0066-stream-restore-modify-to-use-pa_database.patch @@ -1,7 +1,7 @@ From 146931c4af4f512c6584f25e1b1c871173cdeac9 Mon Sep 17 00:00:00 2001 From: Juho Hamalainen <jusa@IT-W1767.(none)> Date: Fri, 3 Jul 2009 14:37:11 +0300 -Subject: [PATCH 66/74] stream-restore: modify to use pa_database +Subject: [PATCH 66/75] stream-restore: modify to use pa_database --- src/modules/module-stream-restore.c | 202 +++++++++++++++------------------- diff --git a/debian/patches/0067-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch b/debian/patches/0067-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch index 6007bf450..76f001872 100644 --- a/debian/patches/0067-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch +++ b/debian/patches/0067-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch @@ -1,7 +1,7 @@ From e8a6840f244fe8f1d834b6c7e4fd0e18228a02b6 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Sat, 4 Apr 2009 14:50:37 +0300 -Subject: [PATCH 67/74] bootstrap: enable DEBUG_VOLUME and NOKIA +Subject: [PATCH 67/75] bootstrap: enable DEBUG_VOLUME and NOKIA --- bootstrap.sh | 2 +- diff --git a/debian/patches/0068-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch b/debian/patches/0068-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch index fdc4d67b9..ca2311241 100644 --- a/debian/patches/0068-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch +++ b/debian/patches/0068-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch @@ -1,7 +1,7 @@ From ec2908851ec741a0e33482e2d85dc0a7bfa3aaed Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Fri, 17 Apr 2009 15:47:27 +0300 -Subject: [PATCH 68/74] pulse/context: when NOFAIL, don't try_next_connection() if c->client +Subject: [PATCH 68/75] pulse/context: when NOFAIL, don't try_next_connection() if c->client --- src/pulse/context.c | 3 ++- diff --git a/debian/patches/0069-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch b/debian/patches/0069-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch index 9cfda3aac..9b369140c 100644 --- a/debian/patches/0069-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch +++ b/debian/patches/0069-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch @@ -1,7 +1,7 @@ From a6adb286989c39ff648448e213031470a34a62fd Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Tue, 21 Apr 2009 14:12:46 +0300 -Subject: [PATCH 69/74] build: workaround scratchbox linker issue.. (Nokia specific) +Subject: [PATCH 69/75] build: workaround scratchbox linker issue.. (Nokia specific) --- src/Makefile.am | 82 +++++++++++++++++++++++++++--------------------------- diff --git a/debian/patches/0070-protocol-native-expose-sink-reference-volume-instead.patch b/debian/patches/0070-protocol-native-expose-sink-reference-volume-instead.patch index b04902c2e..3a650c29a 100644 --- a/debian/patches/0070-protocol-native-expose-sink-reference-volume-instead.patch +++ b/debian/patches/0070-protocol-native-expose-sink-reference-volume-instead.patch @@ -1,7 +1,7 @@ From f496cc38faa4d3d0b9dd71a48cf5ca3dd4767e6d Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Wed, 22 Apr 2009 13:07:01 +0300 -Subject: [PATCH 70/74] protocol-native: expose sink reference volume instead of virtual volume +Subject: [PATCH 70/75] protocol-native: expose sink reference volume instead of virtual volume --- src/pulsecore/protocol-native.c | 2 +- diff --git a/debian/patches/0071-debug-default-who-try-to-set-default-sink-source.patch b/debian/patches/0071-debug-default-who-try-to-set-default-sink-source.patch index 71be02d7e..f4463c740 100644 --- a/debian/patches/0071-debug-default-who-try-to-set-default-sink-source.patch +++ b/debian/patches/0071-debug-default-who-try-to-set-default-sink-source.patch @@ -1,7 +1,7 @@ From dfa481486a1d51d55152e6c9e1f48f0369ee12ee Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Fri, 15 May 2009 18:11:52 +0300 -Subject: [PATCH 71/74] debug default who try to set default sink/source +Subject: [PATCH 71/75] debug default who try to set default sink/source --- src/pulsecore/protocol-native.c | 4 ++++ diff --git a/debian/patches/0072-mainloop-log-as-deprecated-timeval-time_new.patch b/debian/patches/0072-mainloop-log-as-deprecated-timeval-time_new.patch index a5b504976..b7a7339e5 100644 --- a/debian/patches/0072-mainloop-log-as-deprecated-timeval-time_new.patch +++ b/debian/patches/0072-mainloop-log-as-deprecated-timeval-time_new.patch @@ -1,7 +1,7 @@ From 015ed022c79aa45b8c48c85ba5d0173a6c6abdfc Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 1 Jun 2009 14:17:59 +0300 -Subject: [PATCH 72/74] mainloop: log as deprecated timeval time_new +Subject: [PATCH 72/75] mainloop: log as deprecated timeval time_new --- src/pulse/mainloop.c | 2 ++ diff --git a/debian/patches/0073-core-no-rewinding-on-volume-change-if-the-sink-does-.patch b/debian/patches/0073-core-no-rewinding-on-volume-change-if-the-sink-does-.patch index ba2ef96e0..d5116a2cd 100644 --- a/debian/patches/0073-core-no-rewinding-on-volume-change-if-the-sink-does-.patch +++ b/debian/patches/0073-core-no-rewinding-on-volume-change-if-the-sink-does-.patch @@ -1,7 +1,7 @@ From f876ab2e3e840a71e1b9f81c40b01641c6ee8837 Mon Sep 17 00:00:00 2001 From: Jyri Sarha <jyri.sarha@nokia.com> Date: Fri, 3 Jul 2009 17:26:12 +0300 -Subject: [PATCH 73/74] core: no rewinding on volume change if the sink does not support it. +Subject: [PATCH 73/75] core: no rewinding on volume change if the sink does not support it. --- src/pulsecore/sink-input.c | 6 ++++-- diff --git a/debian/patches/0074-autofoo.patch b/debian/patches/0074-autofoo.patch index bebdf459e..36413a031 100644 --- a/debian/patches/0074-autofoo.patch +++ b/debian/patches/0074-autofoo.patch @@ -1,7 +1,7 @@ From 23607858b0e14e338818974a42f4f86a7bd879a9 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> Date: Mon, 6 Jul 2009 19:40:15 +0300 -Subject: [PATCH 74/74] autofoo +Subject: [PATCH 74/75] autofoo --- ABOUT-NLS | 1068 ++ diff --git a/debian/patches/0075-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch b/debian/patches/0075-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch new file mode 100644 index 000000000..5f1373ac0 --- /dev/null +++ b/debian/patches/0075-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch @@ -0,0 +1,145 @@ +From af7793dbe198640c83c87a47a23c919a0f1892b3 Mon Sep 17 00:00:00 2001 +From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com> +Date: Tue, 7 Jul 2009 18:00:14 +0300 +Subject: [PATCH 75/75] bluetooth: fix set_volume_cb on sco over pcm + +The current implementation is totally bogus, it cast the over_sink +userdata to the bluetooth-device userdata... It was failing nicely +because the previous code had a gentle safe-guard in u->profile == +PROFILE_HSP, and u->profile was just random. + +There is no easy way to associate additional data to a sink or +source. Two solutions seems possible: looking up loaded modules and +check which one was handling the sink/source, or using pa_shared. I +went for the second solution. +--- + src/modules/bluetooth/module-bluetooth-device.c | 63 +++++++++++++++++++--- + 1 files changed, 54 insertions(+), 9 deletions(-) + +diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c +index 08a0d71..c435e7b 100644 +--- a/src/modules/bluetooth/module-bluetooth-device.c ++++ b/src/modules/bluetooth/module-bluetooth-device.c +@@ -41,6 +41,7 @@ + #include <pulsecore/core-rtclock.h> + #include <pulsecore/core-util.h> + #include <pulsecore/core-error.h> ++#include <pulsecore/shared.h> + #include <pulsecore/socket-util.h> + #include <pulsecore/thread.h> + #include <pulsecore/thread-mq.h> +@@ -1476,14 +1477,21 @@ fail: + + /* Run from main thread */ + static void sink_set_volume_cb(pa_sink *s) { +- struct userdata *u = s->userdata; + DBusMessage *m; + dbus_uint16_t gain; ++ struct userdata *u; ++ char *k; + +- pa_assert(u); ++ pa_assert(s); ++ pa_assert(s->core); + +- if (u->profile != PROFILE_HSP) +- return; ++ k = pa_sprintf_malloc("bluetooth-device@%p", (void*)s); ++ u = pa_shared_get(s->core, k); ++ pa_xfree(k); ++ ++ pa_assert(u); ++ pa_assert(u->sink == s); ++ pa_assert(u->profile == PROFILE_HSP); + + gain = (pa_cvolume_max(&s->virtual_volume) * 15) / PA_VOLUME_NORM; + +@@ -1500,14 +1508,21 @@ static void sink_set_volume_cb(pa_sink *s) { + + /* Run from main thread */ + static void source_set_volume_cb(pa_source *s) { +- struct userdata *u = s->userdata; + DBusMessage *m; + dbus_uint16_t gain; ++ struct userdata *u; ++ char *k; + +- pa_assert(u); ++ pa_assert(s); ++ pa_assert(s->core); + +- if (u->profile != PROFILE_HSP) +- return; ++ k = pa_sprintf_malloc("bluetooth-device@%p", (void*)s); ++ u = pa_shared_get(s->core, k); ++ pa_xfree(k); ++ ++ pa_assert(u); ++ pa_assert(u->source == s); ++ pa_assert(u->profile == PROFILE_HSP); + + gain = (pa_cvolume_max(&s->virtual_volume) * 15) / PA_VOLUME_NORM; + +@@ -2159,7 +2174,7 @@ int pa__init(pa_module* m) { + struct userdata *u; + const char *address, *path; + DBusError err; +- char *mike, *speaker; ++ char *mike, *speaker, *k; + const pa_bluetooth_device *device; + + pa_assert(m); +@@ -2258,6 +2273,20 @@ int pa__init(pa_module* m) { + pa_xfree(speaker); + pa_xfree(mike); + ++#ifdef NOKIA ++ if (u->hsp.sco_sink) { ++ k = pa_sprintf_malloc("bluetooth-device@%p", (void*)u->hsp.sco_sink); ++ pa_shared_set(u->core, k, u); ++ pa_xfree(k); ++ } ++ ++ if (u->hsp.sco_source) { ++ k = pa_sprintf_malloc("bluetooth-device@%p", (void*)u->hsp.sco_source); ++ pa_shared_set(u->core, k, u); ++ pa_xfree(k); ++ } ++#endif ++ + if (u->profile != PROFILE_OFF) + if (init_profile(u) < 0) + goto fail; +@@ -2290,6 +2319,8 @@ int pa__get_n_used(pa_module *m) { + + void pa__done(pa_module *m) { + struct userdata *u; ++ char *k; ++ + pa_assert(m); + + if (!(u = m->userdata)) +@@ -2339,6 +2370,20 @@ void pa__done(pa_module *m) { + + shutdown_bt(u); + ++#ifdef NOKIA ++ if (u->hsp.sco_sink) { ++ k = pa_sprintf_malloc("bluetooth-device@%p", (void*)u->hsp.sco_sink); ++ pa_shared_remove(u->core, k); ++ pa_xfree(k); ++ } ++ ++ if (u->hsp.sco_source) { ++ k = pa_sprintf_malloc("bluetooth-device@%p", (void*)u->hsp.sco_source); ++ pa_shared_remove(u->core, k); ++ pa_xfree(k); ++ } ++#endif ++ + if (u->a2dp.buffer) + pa_xfree(u->a2dp.buffer); + +-- +1.6.3.3 + diff --git a/debian/patches/series b/debian/patches/series index 9d14080b2..6308d49e5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -72,3 +72,4 @@ 0072-mainloop-log-as-deprecated-timeval-time_new.patch 0073-core-no-rewinding-on-volume-change-if-the-sink-does-.patch 0074-autofoo.patch +0075-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch |