- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by Ian
Chapman
This commit is contained in:
parent
3d0e9b14af
commit
0c51ca2df9
11
libao-0.8.8-bigendianfix.patch
Normal file
11
libao-0.8.8-bigendianfix.patch
Normal 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
|
||||
};
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user