madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Enable env access to pipe recording
authormartin f. krafft <madduck@madduck.net>
Sun, 19 Sep 2021 21:23:17 +0000 (09:23 +1200)
committermartin f. krafft <madduck@madduck.net>
Sun, 19 Sep 2021 21:23:17 +0000 (09:23 +1200)
pulserecorder

index 58fdec76d01f63264f22ef3e169b9e13f32eef51..ab0d471901c7fca54bc06c7d44d92c0bb6cdbc24 100755 (executable)
@@ -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