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"