[vlc-commits] [Git][videolan/vlc][master] 2 commits: meson: use 'enabled' for the spatialaudio module
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sat Apr 11 08:39:55 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
aab43529 by Steve Lhomme at 2026-04-11T10:25:34+02:00
meson: use 'enabled' for the spatialaudio module
- - - - -
5966bab9 by Steve Lhomme at 2026-04-11T10:25:34+02:00
meson: fix spatialaudio extra compilation flag
The file to compile is a C++ file and thus uses cpp_args, not c_args.
- - - - -
1 changed file:
- modules/audio_filter/meson.build
Changes:
=====================================
modules/audio_filter/meson.build
=====================================
@@ -156,20 +156,21 @@ vlc_modules += {
# Spatial audio (ambisonics/binaural) mixer
spatial_dep = dependency('spatialaudio', required: get_option('spatialaudio'))
+spatial_extra_cppflags = []
if spatial_dep.found()
- spatial_extra_cflags = []
if (spatial_dep.version().version_compare('>= 0.4.0'))
- spatial_extra_cflags += ['-DHAVE_SPATIALAUDIOVERSION_H=1']
+ spatial_extra_cppflags += ['-DHAVE_SPATIALAUDIOVERSION_H=1']
endif
-
- vlc_modules += {
- 'name' : 'spatialaudio',
- 'sources' : files('channel_mixer/spatialaudio.cpp'),
- 'dependencies' : [spatial_dep],
- 'c_args' : spatial_extra_cflags
- }
endif
+vlc_modules += {
+ 'name' : 'spatialaudio',
+ 'sources' : files('channel_mixer/spatialaudio.cpp'),
+ 'dependencies' : [spatial_dep],
+ 'cpp_args' : spatial_extra_cppflags,
+ 'enabled' : spatial_dep.found(),
+}
+
## Converters
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f04a960e84f46021d9eb1f8597eb17db08d7e829...5966bab95d28304f527e6221a7e63ed708e63f25
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f04a960e84f46021d9eb1f8597eb17db08d7e829...5966bab95d28304f527e6221a7e63ed708e63f25
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list