[vlc-commits] [Git][videolan/vlc][master] meson: add sndio support
    Steve Lhomme (@robUx4) 
    gitlab at videolan.org
       
    Fri Feb 14 09:14:41 UTC 2025
    
    
  
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
662e9347 by Brad Smith at 2025-02-14T08:51:24+00:00
meson: add sndio support
- - - - -
2 changed files:
- meson_options.txt
- modules/audio_output/meson.build
Changes:
=====================================
meson_options.txt
=====================================
@@ -219,6 +219,11 @@ option('oss',
     value: 'auto',
     description: 'Enable/disable OSS support (default-enabled on BSD)')
 
+option('sndio',
+    type : 'feature',
+    value : 'auto',
+    description : 'Enable/disable sndio support')
+
 option('ogg',
     type : 'feature',
     value : 'auto',
@@ -778,7 +783,6 @@ option('nfs',
 # TODO: Missing vdpau
 # TODO: Missing kva
 # TODO: Missing mmal
-# TODO: Missing sndio
 # TODO: Missing jack
 # TODO: Missing opensles
 # TODO: Missing kai
=====================================
modules/audio_output/meson.build
=====================================
@@ -46,6 +46,16 @@ if jack_dep.found()
     }
 endif
 
+# sndio output
+sndio_dep = dependency('sndio', version: '>= 1.8.0', required: get_option('sndio'))
+
+vlc_modules += {
+    'name' : 'sndio',
+    'sources' : files('sndio.c'),
+    'dependencies' : [sndio_dep],
+    'enabled' : sndio_dep.found(),
+}
+
 # AUHAL output module (macOS only)
 if have_osx
     vlc_modules += {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/662e9347d35f168c2a47e32a393ec3565e10e6bd
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/662e9347d35f168c2a47e32a393ec3565e10e6bd
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
    
    
More information about the vlc-commits
mailing list