summaryrefslogtreecommitdiff
path: root/packages/pulseaudio
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-02-22 18:38:40 +0000
committerKoen Kooi <koen@openembedded.org>2007-02-22 18:38:40 +0000
commitb21b3d1e65fdc948238b90e40577c9814baea05e (patch)
tree695c4102cf37c5ce5b8714d421c8e8466d774731 /packages/pulseaudio
parent665a8b5194daedf83cb0416f76eeb17315bee297 (diff)
pulseaudio: use integer resampling on FPU-less devices
Diffstat (limited to 'packages/pulseaudio')
-rw-r--r--packages/pulseaudio/pulseaudio_0.9.5.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/pulseaudio/pulseaudio_0.9.5.bb b/packages/pulseaudio/pulseaudio_0.9.5.bb
index 9fdd3aa235..3e18374afa 100644
--- a/packages/pulseaudio/pulseaudio_0.9.5.bb
+++ b/packages/pulseaudio/pulseaudio_0.9.5.bb
@@ -10,7 +10,7 @@ DEPENDS += "alsa-lib"
RPROVIDES = "esound esd"
-PR = "r4"
+PR = "r5"
SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz"
@@ -30,10 +30,15 @@ EXTRA_OECONF = "\
PARALLEL_MAKE = ""
+export TARGET_FPU="${TARGET_FPU}"
do_install_append() {
install -d ${D}${sysconfdir}/default/volatiles
install -m 0644 ${WORKDIR}/volatiles.04_pulse ${D}${sysconfdir}/default/volatiles/volatiles.04_pulse
+
+ if [ "x${TARGET_FPU}" == "xsoft" ] ; then
+ sed -i -e s:\;\ resample-method\ =\ sinc-fastest:resample-method\ =\ trivial: ${D}${sysconfdir}/pulse/daemon.conf
+ fi
}