diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-20 06:48:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-20 06:48:19 +0700 |
commit | 74f1cb8cc7d84e468807ca8872f90d2559aebba6 (patch) | |
tree | ecb307d4b0d852b80ea3fc93c2915655fbd08600 /audio/jack1/setcap.sh | |
parent | 2b1011179ac510c077a0eac643991090148f6271 (diff) |
audio/jack1: Added (realtime low-latency sound server).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/jack1/setcap.sh')
-rw-r--r-- | audio/jack1/setcap.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/jack1/setcap.sh b/audio/jack1/setcap.sh new file mode 100644 index 0000000000000..7286a60f224ba --- /dev/null +++ b/audio/jack1/setcap.sh @@ -0,0 +1,14 @@ +# set realtime capabilities on all these binaries +if [ -x /sbin/setcap ]; then + for i in alsa_in alsa_out jack_alias jack_bufsize jack_connect \ + jack_disconnect jack_evmon jack_freewheel jack_impulse_grabber \ + jack_iodelay jack_latent_client jack_load jack_load_test \ + jack_lsp jack_metro jack_midi_dump jack_midiseq jack_midisine \ + jack_monitor_client jack_netsource jack_property jack_rec \ + jack_samplerate jack_server_control jack_session_notify \ + jack_showtime jack_simple_client jack_simple_session_client \ + jack_transport jack_transport_client jack_unload jack_wait jackd + do + /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i + done +fi |