module-devd-detect: new module for soundcard hotplug on FreeBSD

Used in addition to module-detect, since devd only provides hotplug events.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
This commit is contained in:
Greg V 2020-04-03 15:37:24 +03:00 committed by PulseAudio Marge Bot
parent 0f70a6f519
commit 72792db74c
5 changed files with 153 additions and 0 deletions

View file

@ -217,6 +217,10 @@ if udev_dep.found()
endif
endif
if host_machine.system() == 'freebsd'
all_modules += [ [ 'module-devd-detect', 'module-devd-detect.c', [], [], [] ] ]
endif
if x11_dep.found()
all_modules += [
[ 'module-x11-bell', 'x11/module-x11-bell.c', [], [], [x11_dep] ],