yambar/modules
Daniel Eklöf be6e714eb0
module/alsa: handle ALSA device disappearing
With this patch, a non-existing ALSA device is no longer considered a
fatal error. Instead, we keep retrying until we succeed.

Furthermore, if we have successfully opened the ALSA device, and it
then disappears, we a) no longer crash, or cause 100% CPU usage, and
b) try to re-connect to the device.

With this, we now handle e.g. USB soundcards being disconnected and
then re-connected. We should also handle pseudo devices, like pipewire
provides ones, when yambar is started before pipewire.

Closes #59
Closes #61
Closes #86
2021-08-19 19:26:40 +02:00
..
alsa.c module/alsa: handle ALSA device disappearing 2021-08-19 19:26:40 +02:00
backlight.c modules: implement description() 2021-06-20 21:15:24 +02:00
battery.c modules: implement description() 2021-06-20 21:15:24 +02:00
clock.c modules: implement description() 2021-06-20 21:15:24 +02:00
i3-common.c module/i3-common: fix compilation warning with asan 2020-07-07 14:06:29 +02:00
i3-common.h modules/sway-xkb: new module, uses sway 'input' events to expose kbd layout 2019-08-14 21:51:43 +02:00
i3-ipc.h module/i3: use our own copy of i3/ipc.h 2019-03-31 12:08:44 +02:00
i3.c module/i3: add ‘persistent’ attribute 2021-07-26 21:41:59 +02:00
label.c modules: implement description() 2021-06-20 21:15:24 +02:00
meson.build module/sway-xkb: fix name of .so file, fixes load failures when built as shared module 2020-11-25 20:41:09 +01:00
mpd.c modules: implement description() 2021-06-20 21:15:24 +02:00
network.c log: pull in log.{c,h} from foot 2021-08-15 11:41:12 +02:00
removables.c modules: implement description() 2021-06-20 21:15:24 +02:00
river.c module/river: add support for river-status v2 (‘urgent’ views) 2021-08-19 19:25:18 +02:00
script.c log: pull in log.{c,h} from foot 2021-08-15 11:41:12 +02:00
sway-xkb.c modules: implement description() 2021-06-20 21:15:24 +02:00
xkb.c modules: implement description() 2021-06-20 21:15:24 +02:00
xwindow.c modules: implement description() 2021-06-20 21:15:24 +02:00