From: martin f. krafft Date: Sun, 19 Sep 2021 21:23:17 +0000 (+1200) Subject: Enable env access to pipe recording X-Git-Url: https://git.madduck.net/code/pulserecorder.git/commitdiff_plain/015c7497293aa96ee5f389090c3b9645f199efaf?hp=ca51df8a58054f318bf7fcd8e467892e1e35262e Enable env access to pipe recording --- diff --git a/pulserecorder b/pulserecorder index 58fdec7..ab0d471 100755 --- a/pulserecorder +++ b/pulserecorder @@ -168,7 +168,7 @@ move_source_to_sink() { pactl move-sink-input $1 $2 } -if false; then +if [ -n "${PAREC_PIPE:-}" ]; then # This would be great, but it does not work. For instance, trying this on # audible meant that audible would play at maximum speed (3h played in 3 # minutes), but the result would be full of skips, making me think that