mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-09-19 17:49:59 +02:00
440ea7d38d
Once sound card becomes disconnection state, corresponding control node becomes to emit error event for listeners. When catching this type of event, event dispatcher should stop observation of the node. However, at present, a mode of monitor can't handle this correctly. As a result, poll(2) is executed quite frequently in loop with no wait. This results 100% consumption of CPU time. This commit takes the dispatcher to remove the node from observation list when detecting the disconnection state. Reported-by: Thomas Gläßle <thomas@coldfix.de> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Jaroslav Kysela <perex@perex.cz> |
||
---|---|---|
.. | ||
init | ||
.gitignore | ||
90-alsa-restore.rules.in | ||
alsa-restore.service.in | ||
alsa-state.service.in | ||
alsactl.1 | ||
alsactl.c | ||
alsactl.h | ||
alsactl_init.xml | ||
daemon.c | ||
init_parse.c | ||
init_sysdeps.c | ||
init_sysfs.c | ||
init_utils_run.c | ||
init_utils_string.c | ||
list.h | ||
lock.c | ||
Makefile.am | ||
monitor.c | ||
state.c | ||
utils.c |