package/mpd: enable support for libsoxr

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Jörg Krause 2014-10-17 00:28:59 +02:00 committed by Thomas Petazzoni
parent 52cc4a2620
commit fc26b41ac3
2 changed files with 14 additions and 0 deletions

View File

@ -46,6 +46,13 @@ config BR2_PACKAGE_MPD_LIBSAMPLERATE
Enable libsamplerate input support. Enable libsamplerate input support.
Select this for software sample rate conversion. Select this for software sample rate conversion.
config BR2_PACKAGE_MPD_LIBSOXR
bool "libsoxr"
select BR2_PACKAGE_LIBSOXR
help
Enable libsoxr resampler support.
The SoX Resampler library performs software sample-rate conversion.
comment "Decoder plugins" comment "Decoder plugins"
config BR2_PACKAGE_MPD_AUDIOFILE config BR2_PACKAGE_MPD_AUDIOFILE

View File

@ -104,6 +104,13 @@ else
MPD_CONF_OPTS += --disable-sndfile MPD_CONF_OPTS += --disable-sndfile
endif endif
ifeq ($(BR2_PACKAGE_MPD_LIBSOXR),y)
MPD_DEPENDENCIES += libsoxr
MPD_CONF_OPTS += --enable-soxr
else
MPD_CONF_OPTS += --disable-soxr
endif
ifeq ($(BR2_PACKAGE_MPD_MAD),y) ifeq ($(BR2_PACKAGE_MPD_MAD),y)
MPD_DEPENDENCIES += libid3tag libmad MPD_DEPENDENCIES += libid3tag libmad
MPD_CONF_OPTS += --enable-mad MPD_CONF_OPTS += --enable-mad