diff options
author | Karl Linden <karl.j.linden@gmail.com> | 2016-05-31 08:00:47 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-05-31 07:07:36 +0000 |
commit | dc990c2ce3f52b90873d6e5dbf5bb04823860ba7 (patch) | |
tree | b7896bfab4d9622225586f460e0e6d618a530540 /sys-process/rtirq/files | |
parent | app-misc/cmatrix: EAPI 6 bump. (diff) | |
download | gentoo-dc990c2ce3f52b90873d6e5dbf5bb04823860ba7.tar.gz gentoo-dc990c2ce3f52b90873d6e5dbf5bb04823860ba7.tar.bz2 gentoo-dc990c2ce3f52b90873d6e5dbf5bb04823860ba7.zip |
sys-process/rtirq: Initial commit.
A crucial part of professional realtime audio is low latency. rtirq sets
realtime priorities and scheduling policies for desired IRQ threads on boot.
Without rtirq you would need to set these priorities yourself after each boot
or live with sound dropouts. See also [1].
Gentoo-Bug: https://bugs.gentoo.org/566678
Closes: https://github.com/gentoo/gentoo/pull/1554
Package-Manager: portage-2.3.0_rc1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
[1]: http://alsa.opensrc.org/Rtirq
Diffstat (limited to 'sys-process/rtirq/files')
-rw-r--r-- | sys-process/rtirq/files/rtirq | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-process/rtirq/files/rtirq b/sys-process/rtirq/files/rtirq new file mode 100644 index 000000000000..dd311531f0ef --- /dev/null +++ b/sys-process/rtirq/files/rtirq @@ -0,0 +1,29 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Id$ + +command="/usr/sbin/rtirq.sh" + +extra_commands="status" + +depend() { + need localmount + after alsasound logger +} + +start() { + ebegin "Starting rtirq" + ${command} start + eend $? +} + +stop() { + ebegin "Stopping rtirq" + ${command} reset + eend $? +} + +status() { + ${command} status +} |