Initial commit: call recorder with MP3 output and --show-inputs monitor
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "=== Default devices ==="
|
||||
pw-metadata 0 2>/dev/null | awk -F"'" '/default\.audio\.(sink|source)/ { print $2, $4 }'
|
||||
|
||||
echo ""
|
||||
echo "=== All audio nodes (sinks, sources, monitors) ==="
|
||||
pw-cli ls Node 2>/dev/null \
|
||||
| awk '/id [0-9]/ { id=$2 } /node\.name/ { print id, $0 }' \
|
||||
| grep -i "alsa\|bluez\|monitor" || true
|
||||
Reference in New Issue
Block a user