Accepting request 77429 from home:tiwai:branches:multimedia:libs

- Updated to version 0.9.23:
  Bugfix only update, see changelog at
    http://pulseaudio.org/milestone/0.9.23
- Suppress too verbose error message at socket connection failure
  from a client; this is annoying when alsa-plugins-pulse fallback
  is used

OBS-URL: https://build.opensuse.org/request/show/77429
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=70
This commit is contained in:
Cristian Rodríguez 2011-07-29 15:28:07 +00:00 committed by Git OBS Bridge
parent ca97541baf
commit 87dcf7af7e
6 changed files with 36 additions and 46 deletions

View File

@ -1,34 +0,0 @@
From 7475a180ff99f08db8e79be8841ef2ef322806eb Mon Sep 17 00:00:00 2001
From: Scott Reeves <sreeves@novell.com>
Date: Thu, 20 Jan 2011 16:41:21 -0700
Subject: [PATCH] fix incorrect check of return value
---
src/pulsecore/core-util.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index a642553..b662a7e 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -680,7 +680,7 @@ int pa_make_realtime(int rtprio) {
}
for (p = rtprio-1; p >= 1; p--)
- if (set_scheduler(p)) {
+ if (set_scheduler(p) >= 0) {
pa_log_info("Successfully enabled SCHED_RR scheduling for thread, with priority %i, which is lower than the requested %i.", p, rtprio);
return 0;
}
@@ -750,7 +750,7 @@ int pa_raise_priority(int nice_level) {
}
for (n = nice_level+1; n < 0; n++)
- if (set_nice(n) > 0) {
+ if (set_nice(n) >= 0) {
pa_log_info("Successfully acquired nice level %i, which is lower than the requested %i.", n, nice_level);
return 0;
}
--
1.6.0.2

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:869e6e9eb75ad17788e047407a2f65eae6317bb6fb5625581bd7c3596a37bb7c
size 1418116

3
pulseaudio-0.9.23.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af3e84c614cb632fd1f57105489fcd5f93f906da1ce5aa9019492212031fba4e
size 2095454

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jul 27 13:29:24 CEST 2011 - tiwai@suse.de
- Updated to version 0.9.23:
Bugfix only update, see changelog at
http://pulseaudio.org/milestone/0.9.23
- Suppress too verbose error message at socket connection failure
from a client; this is annoying when alsa-plugins-pulse fallback
is used
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 22 17:23:07 CEST 2011 - vuntz@opensuse.org Fri Jul 22 17:23:07 CEST 2011 - vuntz@opensuse.org

View File

@ -17,22 +17,21 @@
# norootforbuild # norootforbuild
%define drvver 0.9.22 %define drvver 0.9.23
Name: pulseaudio Name: pulseaudio
Summary: A Networked Sound Server Summary: A Networked Sound Server
Version: 0.9.22 Version: 0.9.23
Release: 10 Release: 1
License: GPLv2+ ; LGPLv2.1+ License: GPLv2+ ; LGPLv2.1+
Group: System/Sound Daemons Group: System/Sound Daemons
Source: %{name}-%{version}.tar.bz2 Source: http://freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.gz
Source1: default.pa-for-gdm Source1: default.pa-for-gdm
Source2: setup-pulseaudio Source2: setup-pulseaudio
Source3: sysconfig.sound-pulseaudio Source3: sysconfig.sound-pulseaudio
Source99: baselibs.conf Source99: baselibs.conf
Patch0: disabled-start.diff Patch0: disabled-start.diff
# PATCH-FIX-UPSTREAM bnc666350-fix-incorrect-check-of-return-value.patch sreeves@novell.com -- fix to correctly report realtime status Patch1: suppress-socket-error-msg.diff
Patch1: bnc666350-fix-incorrect-check-of-return-value.patch
Url: http://pulseaudio.org Url: http://pulseaudio.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: alsa-devel BuildRequires: alsa-devel
@ -392,6 +391,7 @@ setup-pulseaudio --auto > /dev/null
%{_libdir}/pulse-%{drvver}/modules/module-intended-roles.so %{_libdir}/pulse-%{drvver}/modules/module-intended-roles.so
%{_libdir}/pulse-%{drvver}/modules/module-rygel-media-server.so %{_libdir}/pulse-%{drvver}/modules/module-rygel-media-server.so
%{_libdir}/pulse-%{drvver}/modules/module-udev-detect.so %{_libdir}/pulse-%{drvver}/modules/module-udev-detect.so
%{_libdir}/pulse-%{drvver}/modules/module-echo-cancel.so
%dir %{_datadir}/pulseaudio %dir %{_datadir}/pulseaudio
%dir %{_datadir}/pulseaudio/alsa-mixer %dir %{_datadir}/pulseaudio/alsa-mixer
%dir %{_datadir}/pulseaudio/alsa-mixer/paths %dir %{_datadir}/pulseaudio/alsa-mixer/paths
@ -438,6 +438,7 @@ setup-pulseaudio --auto > /dev/null
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/pulse-%{drvver}/modules/module-jack-sink.so %{_libdir}/pulse-%{drvver}/modules/module-jack-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-jack-source.so %{_libdir}/pulse-%{drvver}/modules/module-jack-source.so
%{_libdir}/pulse-%{drvver}/modules/module-jackdbus-detect.so
%files module-bluetooth %files module-bluetooth
%defattr(-,root,root) %defattr(-,root,root)
@ -482,9 +483,7 @@ setup-pulseaudio --auto > /dev/null
%{_libdir}/libpulse-simple.so %{_libdir}/libpulse-simple.so
%{_libdir}/libpulse-browse.so %{_libdir}/libpulse-browse.so
%{_libdir}/pkgconfig/libpulse*.pc %{_libdir}/pkgconfig/libpulse*.pc
%dir %{_datadir}/vala %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libpulse.vapi
%files utils %files utils
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -0,0 +1,15 @@
---
src/pulsecore/socket-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/pulsecore/socket-client.c
+++ b/src/pulsecore/socket-client.c
@@ -258,7 +258,7 @@
c->local = pa_socket_address_is_local(sa);
if ((c->fd = socket(sa->sa_family, SOCK_STREAM, 0)) < 0) {
- pa_log("socket(): %s", pa_cstrerror(errno));
+ /*pa_log("socket(): %s", pa_cstrerror(errno));*/
return -1;
}