From 015c7497293aa96ee5f389090c3b9645f199efaf Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 20 Sep 2021 09:23:17 +1200 Subject: [PATCH 1/1] Enable env access to pipe recording --- pulserecorder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5