sndio: Add module.

- can control sndio: change volume, toggle mute
- appearance is somewhat dynamic: takes muted status into account
- uses polling inside sleeper thread to update values
- uses sioctl_* functions, requires sndio>=1.7.0.
This commit is contained in:
Érico Rolim
2020-09-06 14:44:13 -03:00
parent 93afe5113a
commit e4427cb017
8 changed files with 309 additions and 0 deletions

View File

@ -39,6 +39,9 @@
#ifdef HAVE_LIBMPDCLIENT
#include "modules/mpd.hpp"
#endif
#ifdef HAVE_LIBSNDIO
#include "modules/sndio.hpp"
#endif
#include "bar.hpp"
#include "modules/custom.hpp"
#include "modules/temperature.hpp"