Commit 25c083b4 authored by Jörg Krause's avatar Jörg Krause Committed by Thomas Petazzoni
Browse files

package/mpd: add option to enable or disable OSS support



By default, the OSS support is enabled, which may not necessarily be
useful on most Linux systems that use ALSA.

[Thomas: tweak commit title and log.]

Signed-off-by: default avatarJörg Krause <jkrause@posteo.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 761ca24c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -245,6 +245,11 @@ comment "jack support needs a toolchain w/ largefile"
	depends on BR2_ARCH_HAS_ATOMICS
	depends on !BR2_LARGEFILE

config BR2_PACKAGE_MPD_OSS
	bool "oss"
	help
	  Enable OSS (Open Sound System) output support.

config BR2_PACKAGE_MPD_PULSEAUDIO
	bool "pulseaudio"
	depends on BR2_LARGEFILE # pulseaudio -> libsndfile
+6 −0
Original line number Diff line number Diff line
@@ -175,6 +175,12 @@ else
MPD_CONF_OPTS += --disable-opus
endif

ifeq ($(BR2_PACKAGE_MPD_OSS),y)
MPD_CONF_OPTS += --enable-oss
else
MPD_CONF_OPTS += --disable-oss
endif

ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
MPD_DEPENDENCIES += pulseaudio
MPD_CONF_OPTS += --enable-pulse