package/shairport-sync: add audio DSP convolution option

Already in version 3.1, shairport-sync added audio DSP convolution support. This
optional feature requires the sndfile library.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jörg Krause 2019-12-03 11:53:39 +01:00 committed by Thomas Petazzoni
parent be8f4a73ab
commit 6e4acf980b
2 changed files with 11 additions and 0 deletions

View File

@ -20,6 +20,12 @@ config BR2_PACKAGE_SHAIRPORT_SYNC
if BR2_PACKAGE_SHAIRPORT_SYNC
config BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION
bool "convolution support"
select BR2_PACKAGE_LIBSNDFILE
help
Enable audio DSP convolution support.
config BR2_PACKAGE_SHAIRPORT_SYNC_LIBSOXR
bool "libsoxr support"
select BR2_PACKAGE_LIBSOXR

View File

@ -51,6 +51,11 @@ SHAIRPORT_SYNC_CONF_LIBS += -lz
endif
endif
ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION),y)
SHAIRPORT_SYNC_DEPENDENCIES += libsndfile
SHAIRPORT_SYNC_CONF_OPTS += --with-convolution
endif
ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_LIBSOXR),y)
SHAIRPORT_SYNC_DEPENDENCIES += libsoxr
SHAIRPORT_SYNC_CONF_OPTS += --with-soxr