Reported-by: tommy <tommy@kelsos.ptp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
endif
EXTRA_DIST=alsactl.1 alsactl_init.xml
+AM_CFLAGS = -D_GNU_SOURCE
+
alsactl_SOURCES=alsactl.c state.c lock.c utils.c init_parse.c daemon.c \
monitor.c
if (sched_idle) {
if (sched_getparam(0, &sched_param) >= 0) {
sched_param.sched_priority = 0;
- if (!sched_setscheduler(0, SCHED_RR, &sched_param))
+ if (!sched_setscheduler(0, SCHED_IDLE, &sched_param))
error("sched_setparam failed: %s", strerror(errno));
} else {
error("sched_getparam failed: %s", strerror(errno));