Hello community,

here is the log from the commit of package pulseaudio for openSUSE:13.1 checked 
in at 2013-10-20 10:53:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1/pulseaudio (Old)
 and      /work/SRC/openSUSE:13.1/.pulseaudio.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pulseaudio"

Changes:
--------
--- /work/SRC/openSUSE:13.1/pulseaudio/pulseaudio.changes       2013-10-08 
12:52:20.000000000 +0200
+++ /work/SRC/openSUSE:13.1/.pulseaudio.new/pulseaudio.changes  2013-10-20 
10:53:37.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Oct 18 17:49:24 UTC 2013 - [email protected]
+
+- Update to git master (PA 5.0) (4.0-270-g9490a):
+  + alsa: fix crash when loading bare alsa sink (bnc#846532).
+  + sndfile-util: fir format for 24bit depth wav files.
+  + bluetooth: track discovery modules by index.
+  + build system fixes.
+
+-------------------------------------------------------------------
@@ -18,0 +28,5 @@
+
+-------------------------------------------------------------------
+Wed Sep 11 10:34:33 CEST 2013 - [email protected]
+
+- support for system wide mode (separate subpackage with service)

Old:
----
  pulseaudio-4.0-265-g35fe.tar.xz

New:
----
  pulseaudio-4.0-270-g9490a.tar.xz
  pulseaudio.service

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pulseaudio.spec ++++++
--- /var/tmp/diff_new_pack.Xwbmuq/_old  2013-10-20 10:53:38.000000000 +0200
+++ /var/tmp/diff_new_pack.Xwbmuq/_new  2013-10-20 10:53:38.000000000 +0200
@@ -17,9 +17,9 @@
 
 
 Name:           pulseaudio
-Version:        4.0.git.265.g35fe
+Version:        4.0.git.270.g9490a
 Release:        0
-%define _version 4.0-265-g35fe
+%define _version 4.0-270-g9490a
 %define drvver  4.0
 %define soname  0
 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
@@ -34,13 +34,11 @@
 Source2:        setup-pulseaudio
 Source3:        sysconfig.sound-pulseaudio
 Source4:        pulseaudio-server.fw
+Source5:        pulseaudio.service
 Source99:       baselibs.conf
 Patch0:         disabled-start.diff
 Patch1:         suppress-socket-error-msg.diff
 Patch2:         pulseaudio-wrong-memset.patch
-%if 0%{?suse_version} >= 1210
-BuildRequires:  pkgconfig(systemd)
-%endif
 BuildRequires:  alsa-devel >= 1.0.24
 BuildRequires:  bluez-devel >= 5
 BuildRequires:  doxygen
@@ -63,6 +61,8 @@
 BuildRequires:  lirc-devel
 BuildRequires:  orc >= 0.4.9
 BuildRequires:  speex-devel
+BuildRequires:  systemd
+BuildRequires:  systemd-devel
 BuildRequires:  tcpd-devel
 BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
@@ -146,6 +146,26 @@
 
 This package provides zeroconf network support for the PulseAudio sound server
 
+%package system-wide
+Summary:        Support for running PulseAudio daemon system wide
+Group:          System/Sound Daemons
+Requires:       %{name}
+Requires:       systemd
+%systemd_requires
+
+%description system-wide
+PulseAudio daemon can be run as a system-wide instance which than can be shared
+by multiple local users. We recommend running the PulseAudio daemon per-user,
+just like the traditional ESD sound daemon. In some situations however, such as
+embedded systems where no real notion of a user exists, it makes sense to use
+the system-wide mode.
+
+Before you now go ahead and use it please read about what is wrong with system
+mode:
+
+http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide
+
+
 %package module-jack
 Summary:        JACK support for the PulseAudio sound server
 Group:          System/Sound Daemons
@@ -296,6 +316,10 @@
 # configure --disable-static had no effect; delete manually.
 rm -rf "%{buildroot}%{_libdir}"/*.a
 
+install -D -m 0644 %{SOURCE5} 
%{buildroot}/usr/lib/systemd/system/%{name}.service
+mkdir -p %{buildroot}%{_sbindir}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
+
 # openSUSE 11.3 cannot find the .desktop files
 %suse_update_desktop_file pulseaudio
 %suse_update_desktop_file pulseaudio-kde
@@ -342,6 +366,22 @@
 
 %postun -p /sbin/ldconfig
 
+%pre system-wide
+%service_add_pre pulseaudio.service
+exit 0
+
+%post system-wide
+%service_add_post pulseaudio.service
+exit 0
+
+%preun system-wide
+%service_del_preun pulseaudio.service
+exit 0
+
+%postun system-wide
+%service_del_preun pulseaudio.service
+exit 0
+
 %files
 %defattr(-,root,root)
 %doc README LICENSE GPL LGPL
@@ -564,4 +604,10 @@
 
 %files lang -f %{name}.lang
 
+%files system-wide
+%{_sbindir}/rc%{name}
+%dir /usr/lib/systemd
+%dir /usr/lib/systemd/system
+/usr/lib/systemd/system/%{name}.service
+
 %changelog

++++++ disabled-start.diff ++++++
--- /var/tmp/diff_new_pack.Xwbmuq/_old  2013-10-20 10:53:38.000000000 +0200
+++ /var/tmp/diff_new_pack.Xwbmuq/_new  2013-10-20 10:53:38.000000000 +0200
@@ -8,7 +8,7 @@
  
 +. /etc/sysconfig/sound
 +
-+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
++if [ x"$PULSEAUDIO_ENABLE" = x"no" ] || [ x"$PULSEAUDIO_SYSTEM" = x"yes" ] ; 
then
 +    exit 1
 +fi
 +
@@ -25,7 +25,7 @@
  
 +. /etc/sysconfig/sound
 +
-+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
++if [ x"$PULSEAUDIO_ENABLE" = x"no" ] || [ x"$PULSEAUDIO_SYSTEM" = x"yes" ]; 
then
 +    exit 1
 +fi
 +

++++++ pulseaudio-4.0-265-g35fe.tar.xz -> pulseaudio-4.0-270-g9490a.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/.tarball-version 
new/pulseaudio-4.0-270-g9490a/.tarball-version
--- old/pulseaudio-4.0-265-g35fe/.tarball-version       2013-10-06 
01:18:18.000000000 +0200
+++ new/pulseaudio-4.0-270-g9490a/.tarball-version      2013-10-18 
19:48:16.000000000 +0200
@@ -1 +1 @@
-4.0-265-g35fe
+4.0-270-g9490a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/.version 
new/pulseaudio-4.0-270-g9490a/.version
--- old/pulseaudio-4.0-265-g35fe/.version       2013-10-06 01:18:18.000000000 
+0200
+++ new/pulseaudio-4.0-270-g9490a/.version      2013-10-18 19:48:16.000000000 
+0200
@@ -1 +1 @@
-4.0-265-g35fe
+4.0-270-g9490a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/configure 
new/pulseaudio-4.0-270-g9490a/configure
--- old/pulseaudio-4.0-265-g35fe/configure      2013-10-06 01:17:57.000000000 
+0200
+++ new/pulseaudio-4.0-270-g9490a/configure     2013-10-18 19:47:50.000000000 
+0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for pulseaudio 4.0-265-g35fe.
+# Generated by GNU Autoconf 2.69 for pulseaudio 4.0-270-g9490a.
 #
 # Report bugs to <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='pulseaudio'
 PACKAGE_TARNAME='pulseaudio'
-PACKAGE_VERSION='4.0-265-g35fe'
-PACKAGE_STRING='pulseaudio 4.0-265-g35fe'
+PACKAGE_VERSION='4.0-270-g9490a'
+PACKAGE_STRING='pulseaudio 4.0-270-g9490a'
 PACKAGE_BUGREPORT='pulseaudio-discuss (at) lists (dot) freedesktop (dot) org'
 PACKAGE_URL='http://pulseaudio.org/'
 
@@ -1695,7 +1695,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures pulseaudio 4.0-265-g35fe to adapt to many kinds of 
systems.
+\`configure' configures pulseaudio 4.0-270-g9490a to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1765,7 +1765,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of pulseaudio 4.0-265-g35fe:";;
+     short | recursive ) echo "Configuration of pulseaudio 4.0-270-g9490a:";;
    esac
   cat <<\_ACEOF
 
@@ -2029,7 +2029,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-pulseaudio configure 4.0-265-g35fe
+pulseaudio configure 4.0-270-g9490a
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2619,7 +2619,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by pulseaudio $as_me 4.0-265-g35fe, which was
+It was created by pulseaudio $as_me 4.0-270-g9490a, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3571,7 +3571,7 @@
 
 # Define the identity of the package.
  PACKAGE='pulseaudio'
- VERSION='4.0-265-g35fe'
+ VERSION='4.0-270-g9490a'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -9003,7 +9003,7 @@
 
 #### Compiler flags ####
 
-for flag in -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings 
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare 
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
-Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings 
-Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common 
-fdiagnostics-show-option; do
+for flag in -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings 
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare 
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
-Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings 
-Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option; do
    as_CACHEVAR=`$as_echo "ax_cv_check_cflags_-pedantic -Werror_$flag" | 
$as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts 
$flag" >&5
 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
@@ -9090,6 +9090,35 @@
  ;;
 esac
 
+# Only set _FORTIFY_SOURCE when optimizations are enabled. If optimizations
+# are disabled, _FORTIFY_SOURCE doesn't do anything, and causes tons of
+# warnings during compiling on some distributions (at least Fedora).
+case " $CFLAGS " in #(
+  *" -O0 "*) :
+     ;; #(
+  *) :
+
+if ${CPPFLAGS+:} false; then :
+  if $as_echo " $CPPFLAGS " | $GREP " "-D_FORTIFY_SOURCE=2" " 2>&1 >/dev/null; 
then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS already contains 
\"-D_FORTIFY_SOURCE=2\""; } >&5
+  (: CPPFLAGS already contains "-D_FORTIFY_SOURCE=2") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+else
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS 
\"-D_FORTIFY_SOURCE=2\"\""; } >&5
+  (: CPPFLAGS="$CPPFLAGS "-D_FORTIFY_SOURCE=2"") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+    as_fn_append CPPFLAGS " "-D_FORTIFY_SOURCE=2""
+fi
+else
+  CPPFLAGS="-D_FORTIFY_SOURCE=2"
+fi
+ ;;
+esac
+
 
 #### Linker flags ####
 
@@ -28221,7 +28250,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by pulseaudio $as_me 4.0-265-g35fe, which was
+This file was extended by pulseaudio $as_me 4.0-270-g9490a, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -28288,7 +28317,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-pulseaudio config.status 4.0-265-g35fe
+pulseaudio config.status 4.0-270-g9490a
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
@@ -30712,6 +30741,7 @@
     System Config Path:            ${PA_SYSTEM_CONFIG_PATH}
     Compiler:                      ${CC}
     CFLAGS:                        ${CFLAGS}
+    CPPFLAGS:                      ${CPPFLAGS}
     LIBS:                          ${LIBS}
 
     Enable X11:                    ${ENABLE_X11}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/configure.ac 
new/pulseaudio-4.0-270-g9490a/configure.ac
--- old/pulseaudio-4.0-265-g35fe/configure.ac   2013-10-06 01:17:39.000000000 
+0200
+++ new/pulseaudio-4.0-270-g9490a/configure.ac  2013-10-18 19:47:36.000000000 
+0200
@@ -165,12 +165,17 @@
 #### Compiler flags ####
 
 AX_APPEND_COMPILE_FLAGS(
-    [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings 
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare 
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
-Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings 
-Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common 
-fdiagnostics-show-option],
+    [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings 
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare 
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
-Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings 
-Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option],
     [], [-pedantic -Werror])
 
 # Only enable fastpath asserts when doing a debug build, e.g. from 
bootstrap.sh.
 AS_CASE([" $CFLAGS "], [*" -O0 "*], [], [AX_APPEND_FLAG(["-DFASTPATH"], 
[CPPFLAGS])])
 
+# Only set _FORTIFY_SOURCE when optimizations are enabled. If optimizations
+# are disabled, _FORTIFY_SOURCE doesn't do anything, and causes tons of
+# warnings during compiling on some distributions (at least Fedora).
+AS_CASE([" $CFLAGS "], [*" -O0 "*], [], 
[AX_APPEND_FLAG(["-D_FORTIFY_SOURCE=2"], [CPPFLAGS])])
+
 
 #### Linker flags ####
 
@@ -1433,6 +1438,7 @@
     System Config Path:            ${PA_SYSTEM_CONFIG_PATH}
     Compiler:                      ${CC}
     CFLAGS:                        ${CFLAGS}
+    CPPFLAGS:                      ${CPPFLAGS}
     LIBS:                          ${LIBS}
 
     Enable X11:                    ${ENABLE_X11}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-sink.c 
new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-sink.c
--- old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-sink.c   2013-09-25 
19:44:15.000000000 +0200
+++ new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-sink.c  2013-10-18 
19:47:36.000000000 +0200
@@ -2032,14 +2032,16 @@
     map = m->core->default_channel_map;
 
     /* Pick sample spec overrides from the mapping, if any */
-    if (mapping->sample_spec.format != PA_SAMPLE_INVALID)
-        ss.format = mapping->sample_spec.format;
-    if (mapping->sample_spec.rate != 0)
-        ss.rate = mapping->sample_spec.rate;
-    if (mapping->sample_spec.channels != 0) {
-        ss.channels = mapping->sample_spec.channels;
-        if (pa_channel_map_valid(&mapping->channel_map))
-            pa_assert(pa_channel_map_compatible(&mapping->channel_map, &ss));
+    if (mapping) {
+        if (mapping->sample_spec.format != PA_SAMPLE_INVALID)
+            ss.format = mapping->sample_spec.format;
+        if (mapping->sample_spec.rate != 0)
+            ss.rate = mapping->sample_spec.rate;
+        if (mapping->sample_spec.channels != 0) {
+            ss.channels = mapping->sample_spec.channels;
+            if (pa_channel_map_valid(&mapping->channel_map))
+                pa_assert(pa_channel_map_compatible(&mapping->channel_map, 
&ss));
+        }
     }
 
     /* Override with modargs if provided */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-source.c 
new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-source.c
--- old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-source.c 2013-09-25 
19:44:15.000000000 +0200
+++ new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-source.c        
2013-10-18 19:47:36.000000000 +0200
@@ -1742,14 +1742,16 @@
     map = m->core->default_channel_map;
 
     /* Pick sample spec overrides from the mapping, if any */
-    if (mapping->sample_spec.format != PA_SAMPLE_INVALID)
-        ss.format = mapping->sample_spec.format;
-    if (mapping->sample_spec.rate != 0)
-        ss.rate = mapping->sample_spec.rate;
-    if (mapping->sample_spec.channels != 0) {
-        ss.channels = mapping->sample_spec.channels;
-        if (pa_channel_map_valid(&mapping->channel_map))
-            pa_assert(pa_channel_map_compatible(&mapping->channel_map, &ss));
+    if (mapping) {
+        if (mapping->sample_spec.format != PA_SAMPLE_INVALID)
+            ss.format = mapping->sample_spec.format;
+        if (mapping->sample_spec.rate != 0)
+            ss.rate = mapping->sample_spec.rate;
+        if (mapping->sample_spec.channels != 0) {
+            ss.channels = mapping->sample_spec.channels;
+            if (pa_channel_map_valid(&mapping->channel_map))
+                pa_assert(pa_channel_map_compatible(&mapping->channel_map, 
&ss));
+        }
     }
 
     /* Override with modargs if provided */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pulseaudio-4.0-265-g35fe/src/modules/bluetooth/module-bluetooth-discover.c 
new/pulseaudio-4.0-270-g9490a/src/modules/bluetooth/module-bluetooth-discover.c
--- 
old/pulseaudio-4.0-265-g35fe/src/modules/bluetooth/module-bluetooth-discover.c  
    2013-10-06 01:17:39.000000000 +0200
+++ 
new/pulseaudio-4.0-270-g9490a/src/modules/bluetooth/module-bluetooth-discover.c 
    2013-10-18 19:47:36.000000000 +0200
@@ -35,24 +35,33 @@
 PA_MODULE_LOAD_ONCE(true);
 
 struct userdata {
-    pa_module *bluez5_module;
-    pa_module *bluez4_module;
+    uint32_t bluez5_module_idx;
+    uint32_t bluez4_module_idx;
 };
 
 int pa__init(pa_module* m) {
     struct userdata *u;
+    pa_module *mm;
 
     pa_assert(m);
 
     m->userdata = u = pa_xnew0(struct userdata, 1);
+    u->bluez5_module_idx = PA_INVALID_INDEX;
+    u->bluez4_module_idx = PA_INVALID_INDEX;
 
-    if (pa_module_exists("module-bluez5-discover"))
-        u->bluez5_module = pa_module_load(m->core, "module-bluez5-discover",  
NULL);
+    if (pa_module_exists("module-bluez5-discover")) {
+        mm = pa_module_load(m->core, "module-bluez5-discover",  NULL);
+        if (mm)
+            u->bluez5_module_idx = mm->index;
+    }
 
-    if (pa_module_exists("module-bluez4-discover"))
-        u->bluez4_module = pa_module_load(m->core, "module-bluez4-discover",  
NULL);
+    if (pa_module_exists("module-bluez4-discover")) {
+        mm = pa_module_load(m->core, "module-bluez4-discover",  NULL);
+        if (mm)
+            u->bluez4_module_idx = mm->index;
+    }
 
-    if (!u->bluez5_module && !u->bluez4_module) {
+    if (u->bluez5_module_idx == PA_INVALID_INDEX && u->bluez4_module_idx == 
PA_INVALID_INDEX) {
         pa_xfree(u);
         return -1;
     }
@@ -68,11 +77,11 @@
     if (!(u = m->userdata))
         return;
 
-    if (u->bluez5_module)
-        pa_module_unload(m->core, u->bluez5_module, true);
+    if (u->bluez5_module_idx != PA_INVALID_INDEX)
+        pa_module_unload_by_index(m->core, u->bluez5_module_idx, true);
 
-    if (u->bluez4_module)
-        pa_module_unload(m->core, u->bluez4_module, true);
+    if (u->bluez4_module_idx != PA_INVALID_INDEX)
+        pa_module_unload_by_index(m->core, u->bluez4_module_idx, true);
 
     pa_xfree(u);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pulseaudio-4.0-265-g35fe/src/pulsecore/sndfile-util.c 
new/pulseaudio-4.0-270-g9490a/src/pulsecore/sndfile-util.c
--- old/pulseaudio-4.0-265-g35fe/src/pulsecore/sndfile-util.c   2013-09-25 
19:44:15.000000000 +0200
+++ new/pulseaudio-4.0-270-g9490a/src/pulsecore/sndfile-util.c  2013-10-18 
19:47:36.000000000 +0200
@@ -384,6 +384,7 @@
 
         case PA_SAMPLE_ULAW:
         case PA_SAMPLE_ALAW:
+        case PA_SAMPLE_S24NE:
             return NULL;
 
         default:
@@ -407,6 +408,7 @@
 
         case PA_SAMPLE_ULAW:
         case PA_SAMPLE_ALAW:
+        case PA_SAMPLE_S24NE:
             return NULL;
 
         default:

++++++ pulseaudio.service ++++++
[Unit]
Description=System wide PulseAudio instance
After=syslog.target network.target alsasound.service

[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/pulseaudio --system --log-target=syslog

[Install]
WantedBy=multi-user.target
++++++ sysconfig.sound-pulseaudio ++++++
--- /var/tmp/diff_new_pack.Xwbmuq/_old  2013-10-20 10:53:38.000000000 +0200
+++ /var/tmp/diff_new_pack.Xwbmuq/_new  2013-10-20 10:53:38.000000000 +0200
@@ -7,3 +7,15 @@
 # scripts automatically change sound-related configuration for PulseAudio.
 #
 PULSEAUDIO_ENABLE="yes"
+
+## Path:       Hardware/Soundcard/PulseAudio/SystemWide
+## Description:        System Wide PulseAudio
+## Type:       list(yes,no)
+#
+# Allows you to configure that you have system wide PulseAudio daemon. Such is
+# setup is not recommended. To make it work, you would need
+# pulseaudio-systemwide package and enable pulseaudio systemd service. If you
+# are not sure whether you want this, you don't. So unless you know what you
+# are doing, keep this set to "no".
+#
+PULSEAUDIO_SYSTEM="no"

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to