This commit is contained in:
parent
fa5cdc4a2e
commit
88ba644868
@ -1,11 +0,0 @@
|
|||||||
--- src/modules/module-alsa-sink.c.orig 2007-04-21 10:21:26.000000000 +0100
|
|
||||||
+++ src/modules/module-alsa-sink.c 2007-04-21 10:21:50.000000000 +0100
|
|
||||||
@@ -422,7 +422,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((pa_alsa_prepare_mixer(u->mixer_handle, dev) < 0) ||
|
|
||||||
- !(u->mixer_elem = pa_alsa_find_elem(u->mixer_handle, "PCM", "Master"))) {
|
|
||||||
+ !(u->mixer_elem = pa_alsa_find_elem(u->mixer_handle, "Master", "PCM"))) {
|
|
||||||
snd_mixer_close(u->mixer_handle);
|
|
||||||
u->mixer_handle = NULL;
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
--- src/Makefile.am-dist 2007-06-12 16:20:45.000000000 +0200
|
|
||||||
+++ src/Makefile.am 2007-06-12 16:21:00.000000000 +0200
|
|
||||||
@@ -218,8 +218,7 @@
|
|
||||||
ipacl-test \
|
|
||||||
hook-list-test \
|
|
||||||
memblock-test \
|
|
||||||
- thread-test \
|
|
||||||
- flist-test
|
|
||||||
+ thread-test
|
|
||||||
|
|
||||||
if HAVE_SIGXCPU
|
|
||||||
noinst_PROGRAMS += \
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:22d8619334f246ecd0c22912c050262656238f0acfd94dbdcafdf7e7771712fa
|
|
||||||
size 829073
|
|
64
pulseaudio-0.9.7-type-punning.diff
Normal file
64
pulseaudio-0.9.7-type-punning.diff
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
--- src/tests/resampler-test.c-dist 2007-10-31 11:59:07.000000000 +0100
|
||||||
|
+++ src/tests/resampler-test.c 2007-10-31 12:02:38.000000000 +0100
|
||||||
|
@@ -37,9 +37,13 @@
|
||||||
|
#include <liboil/liboil.h>
|
||||||
|
|
||||||
|
static float swap_float(float a) {
|
||||||
|
- uint32_t *b = (uint32_t*) &a;
|
||||||
|
- *b = PA_UINT32_SWAP(*b);
|
||||||
|
- return a;
|
||||||
|
+ union {
|
||||||
|
+ uint32_t i;
|
||||||
|
+ float f;
|
||||||
|
+ } b;
|
||||||
|
+ b.f = a;
|
||||||
|
+ b.i = PA_UINT32_SWAP(b.i);
|
||||||
|
+ return b.f;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void dump_block(const pa_sample_spec *ss, const pa_memchunk *chunk) {
|
||||||
|
--- src/pulsecore/sconv-s16le.c-dist 2007-10-31 11:58:56.000000000 +0100
|
||||||
|
+++ src/pulsecore/sconv-s16le.c 2007-10-31 12:02:59.000000000 +0100
|
||||||
|
@@ -95,16 +95,21 @@ void pa_sconv_s16le_from_float32ne(unsig
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
+union float32 {
|
||||||
|
+ uint32_t i;
|
||||||
|
+ float f;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
void pa_sconv_s16le_to_float32re(unsigned n, const int16_t *a, float *b) {
|
||||||
|
pa_assert(a);
|
||||||
|
pa_assert(b);
|
||||||
|
|
||||||
|
for (; n > 0; n--) {
|
||||||
|
int16_t s = *(a++);
|
||||||
|
- float k = ((float) INT16_FROM(s))/0x7FFF;
|
||||||
|
- uint32_t *j = (uint32_t*) &k;
|
||||||
|
- *j = PA_UINT32_SWAP(*j);
|
||||||
|
- *(b++) = k;
|
||||||
|
+ union float32 k;
|
||||||
|
+ k.f = ((float) INT16_FROM(s))/0x7FFF;
|
||||||
|
+ k.i = PA_UINT32_SWAP(k.i);
|
||||||
|
+ *(b++) = k.f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -114,11 +119,11 @@ void pa_sconv_s16le_from_float32re(unsig
|
||||||
|
|
||||||
|
for (; n > 0; n--) {
|
||||||
|
int16_t s;
|
||||||
|
- float v = *(a++);
|
||||||
|
- uint32_t *j = (uint32_t*) &v;
|
||||||
|
- *j = PA_UINT32_SWAP(*j);
|
||||||
|
- v = CLAMP(v, -1, 1);
|
||||||
|
- s = (int16_t) (v * 0x7FFF);
|
||||||
|
+ union float32 v;
|
||||||
|
+ v.f = *(a++);
|
||||||
|
+ v.i = PA_UINT32_SWAP(v.i);
|
||||||
|
+ v.f = CLAMP(v.f, -1, 1);
|
||||||
|
+ s = (int16_t) (v.f * 0x7FFF);
|
||||||
|
*(b++) = INT16_TO(s);
|
||||||
|
}
|
||||||
|
}
|
3
pulseaudio-0.9.7.tar.bz2
Normal file
3
pulseaudio-0.9.7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3893ae4ee2044d3e8b0715f176ccba1226c2dca1750dfa6d0987ce37c3649650
|
||||||
|
size 743827
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 31 14:43:48 CET 2007 - tiwai@suse.de
|
||||||
|
|
||||||
|
- updated to version 0.9.7:
|
||||||
|
* New threaded lock-free (mostly at least) core
|
||||||
|
* New module for automatic discovery of zeroconf audio devices
|
||||||
|
* Reworked JACK module for better real-time compatibility
|
||||||
|
* PA now suspends access to all audio devices if idle
|
||||||
|
* module-combine is now beefedup to automatically pick up local hw devices
|
||||||
|
* make use of gcc intrinsics for atomic ops, byteswap, tls, where possible
|
||||||
|
* use speex resampler by default
|
||||||
|
* use mmap access by default for ALSA devices
|
||||||
|
* fold OSS mmap driver into normal OSS driver
|
||||||
|
* add LADSPA plugin
|
||||||
|
* add plugin for splitting or remapping channel maps
|
||||||
|
* Use Linux eventfd() if available, instead of hacks around FIFOs
|
||||||
|
* make use of PTHREAD_PRIO_INHERIT for some mutexes, wher it makes sense
|
||||||
|
* cleanup dead SHM frags from /dev/shm, where applicable
|
||||||
|
* automatically store/restore default audio device
|
||||||
|
* add new tool pasuspender tool
|
||||||
|
* X11 session management support
|
||||||
|
* allow global configuration for fragment settings/sizes
|
||||||
|
* PA (if HAL is enabled) now ignores modem sound devices by default
|
||||||
|
* Lots of bug fixes and other improvements
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 11 15:46:54 CEST 2007 - sbrabec@suse.cz
|
Thu Oct 11 15:46:54 CEST 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pulseaudio (Version 0.9.6)
|
# spec file for package pulseaudio (Version 0.9.7)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -13,16 +13,15 @@
|
|||||||
Name: pulseaudio
|
Name: pulseaudio
|
||||||
BuildRequires: alsa-devel doxygen glib2-devel hal-devel jack-devel libatomic-ops-devel libavahi-devel liboil-devel libsamplerate-devel libsndfile-devel xorg-x11-devel
|
BuildRequires: alsa-devel doxygen glib2-devel hal-devel jack-devel libatomic-ops-devel libavahi-devel liboil-devel libsamplerate-devel libsndfile-devel xorg-x11-devel
|
||||||
Summary: A Networked Sound Server
|
Summary: A Networked Sound Server
|
||||||
Version: 0.9.6
|
Version: 0.9.7
|
||||||
Release: 43
|
Release: 1
|
||||||
License: GPL v2 or later; LGPL v2 or later
|
License: GPL v2 or later; LGPL v2.1 or later
|
||||||
Group: System/Sound Daemons
|
Group: System/Sound Daemons
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: default.pa
|
Source1: default.pa
|
||||||
Patch: pulseaudio-0.9.5-esd-max-samplesize.diff
|
Patch: pulseaudio-0.9.5-esd-max-samplesize.diff
|
||||||
Patch1: pulseaudio-0.9.5-use-master.patch
|
|
||||||
Patch2: pulseaudio-0.9.6-gcc-fix.diff
|
Patch2: pulseaudio-0.9.6-gcc-fix.diff
|
||||||
Patch3: pulseaudio-0.9.6-no-flist-test.diff
|
Patch3: pulseaudio-0.9.7-type-punning.diff
|
||||||
Url: http://pulseaudio.org
|
Url: http://pulseaudio.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -56,7 +55,7 @@ Authors:
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development package for the pulseaudio library
|
Summary: Development package for the pulseaudio library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: pulseaudio-libs = %{version}
|
Requires: pulseaudio-libs = %{version}, glib2-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the files needed to compile programs that use the
|
This package contains the files needed to compile programs that use the
|
||||||
@ -72,11 +71,8 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
%patch -p1
|
||||||
%patch1
|
|
||||||
%patch2
|
%patch2
|
||||||
%ifarch ppc ppc64
|
|
||||||
%patch3
|
%patch3
|
||||||
%endif
|
|
||||||
cp /usr/share/gettext/config.rpath .
|
cp /usr/share/gettext/config.rpath .
|
||||||
%{?suse_update_config:%{suse_update_config -f}}
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
@ -111,6 +107,7 @@ test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_sysconfdir}/pulse
|
%dir %{_sysconfdir}/pulse
|
||||||
%config %{_sysconfdir}/pulse/*
|
%config %{_sysconfdir}/pulse/*
|
||||||
%{_libdir}/libpulsedsp.so
|
%{_libdir}/libpulsedsp.so
|
||||||
|
/etc/xdg/autostart/*.desktop
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -127,6 +124,28 @@ test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_includedir}/pulse*
|
%{_includedir}/pulse*
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 31 2007 - tiwai@suse.de
|
||||||
|
- updated to version 0.9.7:
|
||||||
|
* New threaded lock-free (mostly at least) core
|
||||||
|
* New module for automatic discovery of zeroconf audio devices
|
||||||
|
* Reworked JACK module for better real-time compatibility
|
||||||
|
* PA now suspends access to all audio devices if idle
|
||||||
|
* module-combine is now beefedup to automatically pick up local hw devices
|
||||||
|
* make use of gcc intrinsics for atomic ops, byteswap, tls, where possible
|
||||||
|
* use speex resampler by default
|
||||||
|
* use mmap access by default for ALSA devices
|
||||||
|
* fold OSS mmap driver into normal OSS driver
|
||||||
|
* add LADSPA plugin
|
||||||
|
* add plugin for splitting or remapping channel maps
|
||||||
|
* Use Linux eventfd() if available, instead of hacks around FIFOs
|
||||||
|
* make use of PTHREAD_PRIO_INHERIT for some mutexes, wher it makes sense
|
||||||
|
* cleanup dead SHM frags from /dev/shm, where applicable
|
||||||
|
* automatically store/restore default audio device
|
||||||
|
* add new tool pasuspender tool
|
||||||
|
* X11 session management support
|
||||||
|
* allow global configuration for fragment settings/sizes
|
||||||
|
* PA (if HAL is enabled) now ignores modem sound devices by default
|
||||||
|
* Lots of bug fixes and other improvements
|
||||||
* Thu Oct 11 2007 - sbrabec@suse.cz
|
* Thu Oct 11 2007 - sbrabec@suse.cz
|
||||||
- Use binding specific avahi package.
|
- Use binding specific avahi package.
|
||||||
* Tue Jun 19 2007 - tiwai@suse.de
|
* Tue Jun 19 2007 - tiwai@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user