Dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

6 lines
285 B

#!/bin/sh
# Create a playback loop from source $1 to the default sink
test -n "$1" && loopdev="-d $1"
test -n "$2" && rate="$2" || rate="44100"
pacat -r $loopdev --rate 44100 --passthrough --client-name "paloop" | pacat -p --rate "$rate" --raw --latency-msec=1 --client-name "paloop"