mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
package/pipewire: compress-offload needs kernel >= 5.7
SND_AUDIOCODEC_A{LAC,PE} are only available since kernel 5.7 and
0f546d6f02
resulting in the following build failure since bump to version 0.3.65
in commit 247e2d0eb1 and
https://git.buildroot.net/buildroot/commit/?id=247e2d0eb1e60f483044d58bed58c5ed321528f7:
../spa/plugins/alsa/alsa-compress-offload-sink.c:183:11: error: 'SND_AUDIOCODEC_ALAC' undeclared here (not in a function); did you mean 'SND_AUDIOCODEC_AAC'?
183 | { SND_AUDIOCODEC_ALAC, },
| ^~~~~~~~~~~~~~~~~~~
| SND_AUDIOCODEC_AAC
Moreover, flac_d is also only available since kernel 5.5 and
d2522335c9
Take this opportunity to make compress offload an explicit option rather
than automatic based on the availability of tinycompress. The
relationship between them is not obvious.
Fixes:
- http://autobuild.buildroot.org/results/9ecd9aca5edc3756154da59573157954f06e6537
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
c3a1f0fe1b
commit
854314d153
@@ -15,6 +15,18 @@ config BR2_PACKAGE_PIPEWIRE
|
||||
|
||||
if BR2_PACKAGE_PIPEWIRE
|
||||
|
||||
config BR2_PACKAGE_PIPEWIRE_COMPRESS_OFFLOAD
|
||||
bool "pipewire Compress-Offload"
|
||||
depends on !BR2_STATIC_LIBS # tinycompress
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
||||
select BR2_PACKAGE_TINYCOMPRESS
|
||||
help
|
||||
Enable ALSA Compress-Offload support
|
||||
|
||||
comment "pipewire Compress-Offload needs a toolchain w/ dynamic library, headers >= 5.7"
|
||||
depends on BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
||||
|
||||
config BR2_PACKAGE_PIPEWIRE_EXAMPLES
|
||||
bool "pipewire examples"
|
||||
help
|
||||
|
||||
@@ -215,7 +215,7 @@ else
|
||||
PIPEWIRE_CONF_OPTS += -Dsdl2=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TINYCOMPRESS),y)
|
||||
ifeq ($(BR2_PACKAGE_PIPEWIRE_COMPRESS_OFFLOAD),y)
|
||||
PIPEWIRE_CONF_OPTS += -Dcompress-offload=enabled
|
||||
PIPEWIRE_DEPENDENCIES += tinycompress
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user