mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
* Use floats instead of double for sound calculations. This improves
performance notable and was default for version 1.1.6 using autotools.
* Fix buffer overrun when using floats
* Make use of ARM NEON for multithreading enabled
Performance and sound correctnes was tested with qtractor and a reworked
version of fluidsynth-dssi [1-2]. Tests were performed for single- and
multithreading enabled.
[1] bad09c6f5c
[2] https://github.com/schnitzeltony/meta-qt5-extra/blob/master/recipes-misc/recipes-multimedia/fluidsynth/fluidsynth-dssi_1.0.0.bb
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
26 lines
1.1 KiB
BlitzBasic
26 lines
1.1 KiB
BlitzBasic
SUMMARY = "Fluidsynth is a software synthesizer"
|
|
HOMEPAGE = "http://www.fluidsynth.org/"
|
|
SECTION = "libs/multimedia"
|
|
LICENSE = "LGPL-2.1"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
|
|
|
|
DEPENDS = "alsa-lib ncurses glib-2.0"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/FluidSynth/fluidsynth.git;branch=1.1.x \
|
|
file://0001-avoid-buffer-overrun-in-fluid_synth_nwrite_float.patch \
|
|
file://0002-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
|
|
"
|
|
SRCREV = "12e7afe3a806a6b397f28e0ca4bc6bab9ebe7047"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake pkgconfig lib_package
|
|
|
|
EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
|
|
|
|
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)}"
|
|
PACKAGECONFIG[sndfile] = "-Denable-libsndfile-support=ON,-Denable-libsndfile-support=OFF,libsndfile1"
|
|
PACKAGECONFIG[jack] = "-Denable-jack-support=ON,-Denable-jack-support=OFF,jack"
|
|
PACKAGECONFIG[pulseaudio] = "-Denable-pulseaudio=ON,--Denable-pulseaudio=OFF,pulseaudio"
|
|
PACKAGECONFIG[portaudio] = "-Denable-portaudio=ON,-Denable-portaudio=OFF,portaudio-v19"
|