modules: add pulse

The pulse module shows information about PulseAudio sinks and sources.
This commit is contained in:
Willem van de Krol 2022-07-28 17:20:30 +02:00
parent 54c70bb6ad
commit dcf21f0b06
15 changed files with 653 additions and 7 deletions

View file

@ -11,6 +11,9 @@ xcb_xkb = dependency('xcb-xkb', required: get_option('backend-x11'))
mpd = dependency('libmpdclient', required: get_option('plugin-mpd'))
plugin_mpd_enabled = mpd.found()
pulse = dependency('libpulse', required: get_option('plugin-pulse'))
plugin_pulse_enabled = pulse.found()
# Module name -> (source-list, dep-list)
mod_data = {
'alsa': [[], [m, alsa]],
@ -32,6 +35,10 @@ if plugin_mpd_enabled
mod_data += {'mpd': [[], [mpd]]}
endif
if plugin_pulse_enabled
mod_data += {'pulse': [[], [pulse]]}
endif
if backend_x11
mod_data += {
'xkb': [[], [xcb_stuff, xcb_xkb]],