fix stupid loopback
This commit is contained in:
@@ -7,6 +7,12 @@ mkdir -p "$STATE"
|
||||
# Defaults
|
||||
MIC=$(pactl get-default-source)
|
||||
|
||||
# Check if soundboard is already started
|
||||
if [[ -f "$STATE/nullsink.id" || -f "$STATE/remap.id" || -f "$STATE/micloop.id" ]]; then
|
||||
echo "Soundboard already started"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# 1. Create a null sink (soundboard mixer)
|
||||
if ! pactl list short sinks | grep -q soundboard_sink; then
|
||||
SINK_ID=$(pactl load-module module-null-sink \
|
||||
|
||||
Reference in New Issue
Block a user