From 855a0d121adb09927ecb4d0c82dd712059f590ad Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 9 May 2024 02:25:16 +0200 Subject: [PATCH] run.sh: Remove latency offset It was hardcoded to nunotaba and should rather be set outside of the script (and with other methods). --- run.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/run.sh b/run.sh index c06da74..1ff6bb0 100755 --- a/run.sh +++ b/run.sh @@ -1,15 +1,4 @@ #!/usr/bin/env bash -function set_latency_offset() { - if [ $# != 1 ]; then - return 1 - fi - echo "Set latency offset to $1 µs" >&2 - pactl set-port-latency-offset alsa_card.pci-0000_00_1b.0 analog-output-headphones $1 -} - -set_latency_offset -40000 -trap "set_latency_offset 0" SIGINT SIGTERM EXIT - BASEDIR="$(dirname $(realpath -s $0))" mkdir -p "$HOME/.local/share/osu" "$BASEDIR/import"