mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 16:07:25 +00:00
pcm_ioctl() previously had a FIXME and always issued the ioctl directly on pcm->fd, bypassing any loaded plugin (e.g. AGM's tinyalsa plugin). Dispatch through pcm->ops->ioctl when a plugin is loaded, falling back to the direct ioctl() otherwise. Add 0002-pcm-fix-pcm_ioctl-to-dispatch-through-plugin-ops.patch and reference it from SRC_URI. Signed-off-by: Kiruthika Vijayasekar <kvijayas@qti.qualcomm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
23 lines
845 B
BlitzBasic
23 lines
845 B
BlitzBasic
DESCRIPTION = "TinyALSA is a small library to interface with ALSA in \
|
|
the Linux kernel. It is a lightweight alternative to libasound."
|
|
HOMEPAGE = "https://github.com/tinyalsa/tinyalsa"
|
|
SECTION = "libs/multimedia"
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://NOTICE;md5=d2918795d9185efcbf430b9ad5cda46d"
|
|
|
|
PV .= "+git"
|
|
SRCREV = "f78ed25aced2dfea743867b8205a787bfb091340"
|
|
SRC_URI = "git://github.com/tinyalsa/tinyalsa;branch=master;protocol=https \
|
|
file://0001-meson-add-option-to-enable-disable-plugin-support.patch \
|
|
file://0002-pcm-fix-pcm_ioctl-to-dispatch-through-plugin-ops.patch"
|
|
|
|
|
|
inherit meson
|
|
|
|
# tinyalsa is built as a static library. Enable PIC to avoid relocation
|
|
# errors like these:
|
|
#
|
|
# unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17'
|
|
CFLAGS += " -fPIC -DPIC "
|