Browse Source

mpd-full: enable soxr

Enable soxr resampler library.

"internal" resampler is really poor quality and libsamplerate
library is too heavy for tiny system.

Signed-off-by: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
lilik-openwrt-22.03
Kazuhiro Ito 3 years ago
committed by Rosen Penev
parent
commit
7c82525cd6
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      sound/mpd/Makefile

+ 5
- 4
sound/mpd/Makefile View File

@ -49,7 +49,7 @@ define Package/mpd-full
$(call Package/mpd/Default) $(call Package/mpd/Default)
TITLE+= (full) TITLE+= (full)
DEPENDS+= +AUDIO_SUPPORT:pulseaudio-daemon +libvorbis +libmms +libnpupnp +libshout +yajl \ DEPENDS+= +AUDIO_SUPPORT:pulseaudio-daemon +libvorbis +libmms +libnpupnp +libshout +yajl \
+libffmpeg +lame-lib +!BUILD_PATENTED:libmad
+libffmpeg +lame-lib +libsoxr +!BUILD_PATENTED:libmad
PROVIDES:=mpd PROVIDES:=mpd
VARIANT:=full VARIANT:=full
endef endef
@ -156,7 +156,6 @@ MESON_ARGS += \
-Dshine=disabled \ -Dshine=disabled \
-Dwave_encoder=true \ -Dwave_encoder=true \
-Dlibsamplerate=disabled \ -Dlibsamplerate=disabled \
-Dsoxr=disabled \
-Dalsa=$(if $(CONFIG_AUDIO_SUPPORT),en,dis)abled \ -Dalsa=$(if $(CONFIG_AUDIO_SUPPORT),en,dis)abled \
-Dao=disabled \ -Dao=disabled \
-Dhttpd=true \ -Dhttpd=true \
@ -193,7 +192,8 @@ ifeq ($(BUILD_VARIANT),full)
-Dshout=enabled \ -Dshout=enabled \
-Dyajl=enabled \ -Dyajl=enabled \
-Dvorbisenc=enabled \ -Dvorbisenc=enabled \
-Dlame=enabled
-Dlame=enabled \
-Dsoxr=enabled
ifeq ($(CONFIG_AUDIO_SUPPORT),y) ifeq ($(CONFIG_AUDIO_SUPPORT),y)
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio
@ -216,7 +216,8 @@ ifeq ($(BUILD_VARIANT),mini)
-Dpulse=disabled \ -Dpulse=disabled \
-Drecorder=false \ -Drecorder=false \
-Dshout=disabled \ -Dshout=disabled \
-Dyajl=disabled
-Dyajl=disabled \
-Dsoxr=disabled
endif endif
define Package/mpd/install define Package/mpd/install


Loading…
Cancel
Save