- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by Ian

Chapman
This commit is contained in:
Hans de Goede 2008-07-06 07:00:56 +00:00
parent 3d0e9b14af
commit 0c51ca2df9
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- libao-0.8.8/src/plugins/pulse/ao_pulse.c.orig 2007-05-24 10:19:07.000000000 +0100
+++ libao-0.8.8/src/plugins/pulse/ao_pulse.c 2008-07-05 21:44:47.000000000 +0100
@@ -75,7 +75,7 @@
const char *fn;
struct pa_simple *s;
static const struct pa_sample_spec ss = {
- .format = PA_SAMPLE_S16LE,
+ .format = PA_SAMPLE_S16NE,
.rate = 44100,
.channels = 2
};

View File

@ -1,12 +1,13 @@
Name: libao
Version: 0.8.8
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Cross Platform Audio Output Library
Group: System Environment/Libraries
License: GPLv2+
URL: http://xiph.org/ao/
Source0: http://downloads.xiph.org/releases/ao/%{name}-%{version}.tar.gz
Source1: ao.req
Patch0: libao-0.8.8-bigendianfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: esound-devel >= 0.2.8
BuildRequires: arts-devel
@ -35,6 +36,7 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1
sed -i "s/-O20/$RPM_OPT_FLAGS/" configure
sed -i "s/-ffast-math//" configure
@ -83,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Jul 6 2008 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.8.8-5
- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by
Ian Chapman
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.8-4
- Autorebuild for GCC 4.3