2018-09-20 17:05:06 +07:00
|
|
|
# Order matters! raop needs rtp!
|
2018-09-20 15:10:08 +07:00
|
|
|
subdir('rtp')
|
2018-09-20 17:05:06 +07:00
|
|
|
subdir('raop')
|
2018-09-20 15:10:08 +07:00
|
|
|
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
# module name, sources, [headers, extra flags, extra deps, extra libs]
|
|
|
|
|
all_modules = [
|
|
|
|
|
[ 'module-allow-passthrough', 'module-allow-passthrough.c' ],
|
|
|
|
|
[ 'module-always-sink', 'module-always-sink.c' ],
|
|
|
|
|
[ 'module-always-source', 'module-always-source.c' ],
|
|
|
|
|
[ 'module-augment-properties', 'module-augment-properties.c' ],
|
|
|
|
|
# [ 'module-bonjour-publish', 'macosx/module-bonjour-publish.c' ],
|
|
|
|
|
[ 'module-card-restore', 'module-card-restore.c' ],
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-cli', 'module-cli.c', [], [], [], libcli ],
|
|
|
|
|
[ 'module-cli-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_CLI', '-DUSE_TCP_SOCKETS'], [], libprotocol_cli ],
|
|
|
|
|
[ 'module-cli-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_CLI', '-DUSE_UNIX_SOCKETS'], [], libprotocol_cli ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-combine', 'module-combine.c' ],
|
|
|
|
|
[ 'module-combine-sink', 'module-combine-sink.c' ],
|
2018-09-20 19:42:48 +07:00
|
|
|
[ 'module-console-kit', 'module-console-kit.c', [], [], [dbus_dep] ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
# [ 'module-coreaudio-detect', 'macosx/module-coreaudio-detect.c' ],
|
|
|
|
|
# [ 'module-coreaudio-device', 'macosx/module-coreaudio-device.c' ],
|
|
|
|
|
[ 'module-default-device-restore', 'module-default-device-restore.c', [], [], [], libprotocol_native ],
|
|
|
|
|
[ 'module-detect', 'module-detect.c' ],
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-device-manager', 'module-device-manager.c', [], [], [], libprotocol_native ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-device-restore', 'module-device-restore.c', [], [], [dbus_dep], libprotocol_native ],
|
|
|
|
|
[ 'module-esound-compat-spawnfd', 'module-esound-compat-spawnfd.c' ],
|
|
|
|
|
[ 'module-esound-compat-spawnpid', 'module-esound-compat-spawnpid.c' ],
|
|
|
|
|
# [ 'module-esound-protocol-tcp', 'module-protocol-stub.c' ],
|
|
|
|
|
# [ 'module-esound-protocol-unix', 'module-protocol-stub.c' ],
|
|
|
|
|
[ 'module-esound-sink', 'module-esound-sink.c' ],
|
|
|
|
|
[ 'module-filter-apply', 'module-filter-apply.c' ],
|
|
|
|
|
[ 'module-filter-heuristics', 'module-filter-heuristics.c' ],
|
|
|
|
|
# [ 'module-gconf', 'gconf/module-gconf.c' ],
|
|
|
|
|
[ 'module-hal-detect', 'module-hal-detect-compat.c' ],
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-http-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_HTTP', '-DUSE_TCP_SOCKETS'], [], libprotocol_http ],
|
|
|
|
|
[ 'module-http-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_HTTP', '-DUSE_UNIX_SOCKETS'], [], libprotocol_http ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-intended-roles', 'module-intended-roles.c' ],
|
2018-09-20 16:48:25 +07:00
|
|
|
[ 'module-jackdbus-detect', 'jack/module-jackdbus-detect.c', [], [], [dbus_dep] ],
|
2018-10-01 09:17:01 +07:00
|
|
|
[ 'module-ladspa-sink', 'module-ladspa-sink.c', 'ladspa.h', ['-DLADSPA_PATH="' + join_paths(prefix, get_option('libdir')) + '/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/local/lib64/ladspa:/usr/lib64/ladspa"'], [dbus_dep, libm_dep, ltdl_dep] ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-loopback', 'module-loopback.c' ],
|
|
|
|
|
[ 'module-match', 'module-match.c' ],
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-native-protocol-fd', 'module-native-protocol-fd.c', [], [], [], libprotocol_native ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-native-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_TCP_SOCKETS'], [], libprotocol_native ],
|
|
|
|
|
[ 'module-native-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_UNIX_SOCKETS'], [], libprotocol_native ],
|
|
|
|
|
[ 'module-null-sink', 'module-null-sink.c' ],
|
|
|
|
|
[ 'module-null-source', 'module-null-source.c' ],
|
|
|
|
|
[ 'module-pipe-sink', 'module-pipe-sink.c' ],
|
|
|
|
|
[ 'module-pipe-source', 'module-pipe-source.c' ],
|
|
|
|
|
[ 'module-position-event-sounds', 'module-position-event-sounds.c' ],
|
|
|
|
|
[ 'module-remap-sink', 'module-remap-sink.c' ],
|
|
|
|
|
[ 'module-remap-source', 'module-remap-source.c' ],
|
|
|
|
|
[ 'module-rescue-streams', 'module-rescue-streams.c' ],
|
|
|
|
|
[ 'module-role-cork', ['module-role-cork.c', 'stream-interaction.c'], 'stream-interaction.h' ],
|
|
|
|
|
[ 'module-role-ducking', ['module-role-ducking.c', 'stream-interaction.c'], 'stream-interaction.h' ],
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-rtp-recv', 'rtp/module-rtp-recv.c', [], [], [], librtp ],
|
|
|
|
|
[ 'module-rtp-send', 'rtp/module-rtp-send.c' , [], [], [], librtp ],
|
|
|
|
|
[ 'module-rygel-media-server', 'module-rygel-media-server.c', [], [], [dbus_dep], libprotocol_http ],
|
|
|
|
|
[ 'module-simple-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_SIMPLE', '-DUSE_TCP_SOCKETS'], [], libprotocol_simple ],
|
|
|
|
|
[ 'module-simple-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_SIMPLE', '-DUSE_UNIX_SOCKETS'], [], libprotocol_simple ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-sine', 'module-sine.c' ],
|
|
|
|
|
[ 'module-sine-source', 'module-sine-source.c' ],
|
|
|
|
|
# [ 'module-solaris', 'module-solaris.c' ],
|
|
|
|
|
[ 'module-stream-restore', 'module-stream-restore.c', [], [], [dbus_dep], libprotocol_native ],
|
|
|
|
|
[ 'module-suspend-on-idle', 'module-suspend-on-idle.c' ],
|
|
|
|
|
[ 'module-switch-on-connect', 'module-switch-on-connect.c' ],
|
|
|
|
|
[ 'module-switch-on-port-available', 'module-switch-on-port-available.c' ],
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-tunnel-sink', 'module-tunnel.c', [], [], [x11_dep] ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-tunnel-sink-new', 'module-tunnel-sink-new.c' ],
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-tunnel-source', 'module-tunnel.c', [], [], [x11_dep] ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
[ 'module-tunnel-source-new', 'module-tunnel-source-new.c' ],
|
|
|
|
|
[ 'module-virtual-sink', 'module-virtual-sink.c' ],
|
|
|
|
|
[ 'module-virtual-source', 'module-virtual-source.c' ],
|
|
|
|
|
[ 'module-virtual-surround-sink', 'module-virtual-surround-sink.c' ],
|
|
|
|
|
[ 'module-volume-restore', 'module-volume-restore.c' ],
|
|
|
|
|
# [ 'module-waveout', 'module-waveout.c' ],
|
|
|
|
|
]
|
|
|
|
|
|
2018-09-20 18:55:10 +07:00
|
|
|
# Modules enabled by headers
|
|
|
|
|
|
|
|
|
|
if cc.has_header('linux/input.h')
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-mmkbd-evdev', 'module-mmkbd-evdev.c' ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-27 15:39:21 +07:00
|
|
|
if cc.has_header('sys/soundcard.h')
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-oss', [ 'oss/module-oss.c', 'oss/oss-util.c', 'oss/oss-util.h' ] ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 18:55:10 +07:00
|
|
|
# Modules enabled by dependencies
|
|
|
|
|
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
if alsa_dep.found()
|
|
|
|
|
subdir('alsa')
|
|
|
|
|
all_modules += [
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-alsa-card', 'alsa/module-alsa-card.c', [], [], [alsa_dep, libm_dep], libalsa_util ],
|
|
|
|
|
[ 'module-alsa-sink', 'alsa/module-alsa-sink.c', [], [], [alsa_dep, libm_dep], libalsa_util ],
|
|
|
|
|
[ 'module-alsa-source', 'alsa/module-alsa-source.c', [], [], [alsa_dep, libm_dep], libalsa_util ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 18:43:05 +07:00
|
|
|
if avahi_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-zeroconf-discover', 'module-zeroconf-discover.c', [], [], [avahi_dep], libavahi_wrap ],
|
|
|
|
|
[ 'module-zeroconf-publish', 'module-zeroconf-publish.c', [], [], [avahi_dep, dbus_dep], [libavahi_wrap, libprotocol_native] ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 16:36:34 +07:00
|
|
|
if dbus_dep.found()
|
|
|
|
|
all_modules += [
|
2018-09-22 16:17:43 +07:00
|
|
|
[ 'module-dbus-protocol',
|
|
|
|
|
[ 'dbus/iface-card.c', 'dbus/iface-card.h',
|
|
|
|
|
'dbus/iface-card-profile.c', 'dbus/iface-card-profile.h',
|
|
|
|
|
'dbus/iface-client.c', 'dbus/iface-client.h',
|
|
|
|
|
'dbus/iface-core.c', 'dbus/iface-core.h',
|
|
|
|
|
'dbus/iface-device.c', 'dbus/iface-device.h',
|
|
|
|
|
'dbus/iface-device-port.c', 'dbus/iface-device-port.h',
|
|
|
|
|
'dbus/iface-memstats.c', 'dbus/iface-memstats.h',
|
|
|
|
|
'dbus/iface-module.c', 'dbus/iface-module.h',
|
|
|
|
|
'dbus/iface-sample.c', 'dbus/iface-sample.h',
|
|
|
|
|
'dbus/iface-stream.c', 'dbus/iface-stream.h',
|
|
|
|
|
'dbus/module-dbus-protocol.c',
|
|
|
|
|
],
|
|
|
|
|
[], [], [dbus_dep] ]
|
2018-09-20 16:36:34 +07:00
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-22 17:37:19 +07:00
|
|
|
if dbus_dep.found() and sbc_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-bluetooth-discover', 'bluetooth/module-bluetooth-discover.c' ],
|
|
|
|
|
[ 'module-bluetooth-policy', 'bluetooth/module-bluetooth-policy.c', [], [], [dbus_dep] ]
|
|
|
|
|
]
|
|
|
|
|
if bluez_dep.found()
|
|
|
|
|
subdir('bluetooth')
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-bluez5-device', 'bluetooth/module-bluez5-device.c', [], [], [sbc_dep], libbluez5_util ],
|
|
|
|
|
[ 'module-bluez5-discover', 'bluetooth/module-bluez5-discover.c', [], [], [dbus_dep], libbluez5_util ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 15:33:18 +07:00
|
|
|
if fftw_dep.found()
|
|
|
|
|
all_modules += [
|
2018-09-20 15:41:49 +07:00
|
|
|
[ 'module-equalizer-sink', 'module-equalizer-sink.c', [], [], [dbus_dep, fftw_dep, libm_dep] ],
|
2018-09-20 15:33:18 +07:00
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 16:48:25 +07:00
|
|
|
if jack_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-jack-sink', 'jack/module-jack-sink.c', [], [], [jack_dep] ],
|
|
|
|
|
[ 'module-jack-source', 'jack/module-jack-source.c', [], [], [jack_dep] ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 19:30:21 +07:00
|
|
|
if lirc_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-lirc', 'module-lirc.c', [], [], [lirc_dep] ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 17:05:06 +07:00
|
|
|
if openssl_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-raop-sink', 'raop/module-raop-sink.c', [], [], [], libraop ],
|
|
|
|
|
]
|
2018-09-20 17:37:12 +07:00
|
|
|
if avahi_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-raop-discover', 'raop/module-raop-discover.c', [], [], [avahi_dep], libavahi_wrap ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
2018-09-20 17:05:06 +07:00
|
|
|
endif
|
|
|
|
|
|
2018-09-20 15:34:48 +07:00
|
|
|
if systemd_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-systemd-login', 'module-systemd-login.c', [], [], [systemd_dep] ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
if udev_dep.found()
|
|
|
|
|
all_modules += [ [ 'module-udev-detect', 'module-udev-detect.c', [], [], [udev_dep] ] ]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-09-20 18:35:53 +07:00
|
|
|
if x11_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-x11-bell', 'x11/module-x11-bell.c', [], [], [x11_dep] ],
|
|
|
|
|
[ 'module-x11-publish', 'x11/module-x11-publish.c', [], [], [x11_dep], libprotocol_native ],
|
|
|
|
|
]
|
|
|
|
|
if xtst_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-x11-cork-request', 'x11/module-x11-cork-request.c', [], [], [x11_dep, xtst_dep] ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
if ice_dep.found() and sm_dep.found()
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-x11-xsmp', 'x11/module-x11-xsmp.c', [], [], [x11_dep, ice_dep, sm_dep] ],
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
|
2018-10-01 11:01:47 +07:00
|
|
|
# Module echo-cancel is quite modular itself and requires a section of its own
|
|
|
|
|
|
|
|
|
|
module_echo_cancel_sources = [
|
|
|
|
|
'echo-cancel/echo-cancel.h',
|
|
|
|
|
'echo-cancel/module-echo-cancel.c',
|
|
|
|
|
'echo-cancel/null.c',
|
|
|
|
|
]
|
|
|
|
|
module_echo_cancel_flags = []
|
|
|
|
|
module_echo_cancel_deps = []
|
|
|
|
|
module_echo_cancel_libs = []
|
|
|
|
|
|
|
|
|
|
# FIXME: Adrian support should be optional
|
|
|
|
|
module_echo_cancel_sources += [
|
|
|
|
|
'echo-cancel/adrian.c', 'echo-cancel/adrian.h',
|
|
|
|
|
'echo-cancel/adrian-aec.c', 'echo-cancel/adrian-aec.h',
|
|
|
|
|
]
|
|
|
|
|
module_echo_cancel_flags += ['-DHAVE_ADRIAN_EC=1']
|
|
|
|
|
|
|
|
|
|
# FIXME: support ORC (depends on Adrian)
|
|
|
|
|
#ORC_SOURCE += modules/echo-cancel/adrian-aec
|
|
|
|
|
#module_echo_cancel_sources += [
|
|
|
|
|
# 'echo-cancel/adrian-aec-orc-gen.c', 'echo-cancel/adrian-aec-orc-gen.h'
|
|
|
|
|
#]
|
|
|
|
|
#module_echo_cancel_deps += [orc_dep]
|
|
|
|
|
|
|
|
|
|
if speex_dep.found()
|
|
|
|
|
module_echo_cancel_sources += ['echo-cancel/speex.c']
|
|
|
|
|
module_echo_cancel_deps += [speex_dep]
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if webrtc_dep.found()
|
|
|
|
|
subdir('echo-cancel')
|
|
|
|
|
module_echo_cancel_libs += [libwebrtc_util]
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
all_modules += [
|
|
|
|
|
[ 'module-echo-cancel',
|
|
|
|
|
module_echo_cancel_sources,
|
|
|
|
|
[],
|
|
|
|
|
module_echo_cancel_flags,
|
|
|
|
|
module_echo_cancel_deps,
|
|
|
|
|
module_echo_cancel_libs,
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# Generate a shared module object for each modules
|
|
|
|
|
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
foreach m : all_modules
|
|
|
|
|
name = m[0]
|
|
|
|
|
sources = m[1]
|
|
|
|
|
headers = m.get(2, [])
|
|
|
|
|
extra_flags = m.get(3, [])
|
|
|
|
|
extra_deps = m.get(4, [])
|
|
|
|
|
extra_libs = m.get(5, [])
|
|
|
|
|
|
|
|
|
|
mod = shared_module(name,
|
|
|
|
|
sources,
|
|
|
|
|
headers,
|
|
|
|
|
include_directories : [configinc, topinc],
|
|
|
|
|
c_args : [pa_c_args, server_c_args, '-DPA_MODULE_NAME=' + name.underscorify()] + extra_flags,
|
|
|
|
|
install : true,
|
2018-09-20 15:41:49 +07:00
|
|
|
dependencies : [thread_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep] + extra_deps,
|
2018-09-20 15:36:13 +07:00
|
|
|
link_args : [ '-Wl,--no-undefined' ],
|
build-sys: First pass at a meson-ified build system
This is a working implementation of a build with meson. The server,
utils, and most modules build with this, and it is possible to run from
a build tree and play/capture audio on ALSA devices.
There are a number of FIXMEs, of course, and a number of features that
need to be enabled (modules, dependencies, installation, etc.), but this
should provide everything we need to get there relatively quickly.
To use this, install meson (distro package, or mesonbuild.com) and run:
$ cd <pulseaudio src dir>
$ meson <builddir>
$ ninja -C <builddir>
2017-07-31 12:37:36 +01:00
|
|
|
link_with : extra_libs,
|
|
|
|
|
name_prefix : '',
|
|
|
|
|
implicit_include_directories : false)
|
|
|
|
|
endforeach
|