diff options
author | Florian Pritz <bluewind@xinu.at> | 2022-05-11 09:57:50 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2022-05-11 09:59:33 +0200 |
commit | 09bb95709965abd24092331a1bc02914f48d79c8 (patch) | |
tree | 1c15bb746d0a8b74dbc9ece103a8665642d579c1 /pulse-loopback | |
parent | 3c6ed7c199dba3aa66660b62e4e2b85cd163b06b (diff) | |
download | bin-09bb95709965abd24092331a1bc02914f48d79c8.tar.gz bin-09bb95709965abd24092331a1bc02914f48d79c8.tar.xz |
Add new scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'pulse-loopback')
-rwxr-xr-x | pulse-loopback | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pulse-loopback b/pulse-loopback new file mode 100755 index 0000000..a756746 --- /dev/null +++ b/pulse-loopback @@ -0,0 +1,9 @@ +#!/bin/bash + +source=$1 + +id=$(pactl load-module module-loopback channels=1 source=$source) +echo "$id" +trap "pactl unload-module $id" EXIT TERM INT +echo "press enter to remove loopback" +read |