Dne 14.10.2018 v 16:36 Takashi Sakamoto napsal(a): > Hi, > > A bug was reported that monitor mode of alsactl consumes much CPU time > after disconnection of any sound card[1]. > > This patchset improves the mode to handle connection/disconnection of > sound card. Observed control nodes are maintained by list structure > instead of array. Linux specific epoll(7) is used to dispatch events. > Linux specific inotify(7) is used to detect connection of new sound > card. Linux specific signalfd(2) is used to catch Unix signals for > termination. Thanks for your code. I reviewed this and applied to the alsa-utils git repo. Jaroslav -- Jaroslav Kysela <perex@xxxxxxxx> Linux Sound Maintainer; ALSA Project; Red Hat, Inc. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel