63 lines
1.0 KiB
Meson
63 lines
1.0 KiB
Meson
mixer_plugins_sources = [
|
|
'NullMixerPlugin.cxx',
|
|
'SoftwareMixerPlugin.cxx',
|
|
]
|
|
|
|
if alsa_dep.found()
|
|
mixer_plugins_sources += [
|
|
'AlsaMixerPlugin.cxx',
|
|
'volume_mapping.c',
|
|
]
|
|
endif
|
|
|
|
if enable_oss
|
|
mixer_plugins_sources += 'OssMixerPlugin.cxx'
|
|
endif
|
|
|
|
if is_darwin
|
|
mixer_plugins_sources += 'OSXMixerPlugin.cxx'
|
|
endif
|
|
|
|
if pipewire_dep.found()
|
|
mixer_plugins_sources += 'PipeWireMixerPlugin.cxx'
|
|
endif
|
|
|
|
if pulse_dep.found()
|
|
mixer_plugins_sources += 'PulseMixerPlugin.cxx'
|
|
endif
|
|
|
|
if libsndio_dep.found()
|
|
mixer_plugins_sources += 'SndioMixerPlugin.cxx'
|
|
endif
|
|
|
|
if is_windows
|
|
mixer_plugins_sources += [
|
|
'WinmmMixerPlugin.cxx',
|
|
'WasapiMixerPlugin.cxx',
|
|
]
|
|
endif
|
|
|
|
if is_android
|
|
mixer_plugins_sources += 'AndroidMixerPlugin.cxx'
|
|
endif
|
|
|
|
mixer_plugins = static_library(
|
|
'mixer_plugins',
|
|
mixer_plugins_sources,
|
|
include_directories: inc,
|
|
dependencies: [
|
|
mixer_api_dep,
|
|
alsa_dep,
|
|
pulse_dep,
|
|
libsndio_dep,
|
|
log_dep,
|
|
]
|
|
)
|
|
|
|
mixer_plugins_dep = declare_dependency(
|
|
link_with: mixer_plugins,
|
|
dependencies: [
|
|
config_dep,
|
|
],
|
|
)
|