summaryrefslogtreecommitdiffstats
path: root/pulse-loopback
blob: a7567461627df957283ac49cc375a14532f7e43f (plain)
1
2
3
4
5
6
7
8
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